Add 'etc/systemd/system/droppy.service'
This commit is contained in:
parent
484c4d5900
commit
a2db0bfae3
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=droppy
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/droppy start -c /srv/droppy/config -f /srv/droppy/files
|
||||
WorkingDirectory=/srv/droppy
|
||||
Environment="NODE_ENV=production"
|
||||
Restart=always
|
||||
User=droppy
|
||||
Group=droppy
|
||||
SyslogIdentifier=droppy
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue