add systemd-Unit
This commit is contained in:
parent
7b41d3fa59
commit
803a5d9dff
2 changed files with 16 additions and 0 deletions
14
assets/ffffng.service
Normal file
14
assets/ffffng.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue