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] [Unit]
Description=NodeBB forum for Node.js. Description=NodeBB forum for Node.js.
After=syslog.target
After=network.target After=network.target
[Service] [Service]
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__
ExecStartPre=n 8.0.0 ExecStartPre=__NODEJS__
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/node_n/bin" Environment="PATH=__ENV_PATH__"
ExecStart=/opt/node_n/bin/node app.js start ExecStart=__NODE__ app.js start
Restart=always Restart=always
[Install] [Install]