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

Update nodebb.service

This commit is contained in:
frju365 2017-07-08 17:49:33 +02:00 committed by GitHub
parent c8f747cbeb
commit 78ed4c9c74

View file

@ -1,19 +1,16 @@
[Unit]
Description=NodeBB forum for Node.js.
Documentation=https://docs.nodebb.org
After=system.slice multi-user.target
After=network.target
[Service]
Type=simple
User=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=nodebb
Environment=NODE_ENV=production
WorkingDirectory=/var/www/nodebb
ExecStart=/var/www/nodebb/nodebb --no-silent --no-daemon
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
ExecStartPre=__NODEJS__
Environment="PATH=__ENV_PATH__"
ExecStart=__NODE__ loader.js --no-daemon --no-silent
Restart=always
[Install]