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-25 13:45:30 +02:00 committed by GitHub
parent 0ea1d5dd72
commit 560193deb6

View file

@ -1,16 +1,16 @@
[Unit]
Description=NodeBB forum for Node.js.
After=syslog.target
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
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
ExecStartPre=__NODEJS__
Environment="PATH=__ENV_PATH__"
ExecStart=__NODE__ app.js start
Restart=always
[Install]