add systemd-Unit

This commit is contained in:
rubo77 2017-05-13 18:09:14 +02:00
commit 803a5d9dff
2 changed files with 16 additions and 0 deletions

14
assets/ffffng.service Normal file
View file

@ -0,0 +1,14 @@
# systemd init script: /etc/systemd/system/ffffng.service
[Service]
ExecStart=/home/fastdform/node_modules/.bin/ffffng -c /home/fastdform/config.json
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=ffffng
User=fastdform
Group=fastdform
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target