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:
parent
8f27888b76
commit
bdb8c6188e
1 changed files with 1 additions and 4 deletions
|
@ -8,12 +8,9 @@ Type=forking
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
#PIDFile=/path/to/nodebb/pidfile
|
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
Environment="__YNH_NODE_LOAD_PATH__"
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
#ExecStart= loader.js --no-daemon --no-silent
|
ExecStart=__FINALPATH__/loader.js --no-daemon --no-silent
|
||||||
#ExecStart= start
|
|
||||||
ExecStart=__YNH_NODE_LOAD_PATH__ loader.js
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Reference in a new issue