1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update systemd.service

This commit is contained in:
ericgaspar 2021-03-26 23:53:50 +01:00
parent 8f27888b76
commit bdb8c6188e
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -8,12 +8,9 @@ Type=forking
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
#PIDFile=/path/to/nodebb/pidfile
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
#ExecStart= loader.js --no-daemon --no-silent
#ExecStart= start
ExecStart=__YNH_NODE_LOAD_PATH__ loader.js
ExecStart=__FINALPATH__/loader.js --no-daemon --no-silent
Restart=always
[Install]