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:
frju365 2017-07-24 20:40:04 +02:00 committed by GitHub
parent 84922ae7f5
commit 86869130c4

View file

@ -8,9 +8,9 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
ExecStartPre=__NODEJS__
Environment="PATH=__ENV_PATH__"
ExecStart=__FINALPATH__/nodebb --no-silent --no-daemon
ExecStartPre=n 8.0.0
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/node_n/bin"
ExecStart=/opt/node_n/bin/node app.js start
Restart=always
[Install]