forked from Spearhead/privateburn
17 lines
324 B
Plaintext
17 lines
324 B
Plaintext
[Unit]
|
|
# /lib/systemd/system/privateburn.service
|
|
Description=PricvateBurn Node.js Application
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=www-data
|
|
WorkingDirectory=/var/www/privateburn
|
|
Environment=NODE_ENV=production
|
|
ExecStart=/usr/bin/node server.js
|
|
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|