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 92243052cc
Fix
2021-03-25 20:09:22 +01:00

18 lines
403 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
ExecStart=__YNH_NPM__ start
Restart=always
[Install]
WantedBy=multi-user.target