1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00
nodebb_ynh/conf/systemd.service
ericgaspar 0328159afb
Fix
2021-03-25 17:00:29 +01:00

17 lines
373 B
Desktop File

[Unit]
Description=NodeBB
Documentation=https://docs.nodebb.org
After=system.slice multi-user.target mongod.service
[Service]
Type=forking
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
PIDFile=/path/to/nodebb/pidfile
Environment=NODE_ENV=production
ExecStart=__NODE__/node loader.js --no-daemon --no-silent
Restart=always
[Install]
WantedBy=multi-user.target