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

Create nodebb.service

This commit is contained in:
frju365 2017-06-10 13:14:15 +02:00 committed by GitHub
parent c2fc2426de
commit 6016faf869

View file

@ -5,7 +5,7 @@ After=system.slice multi-user.target
[Service]
Type=simple
User=nodebb
User=root
StandardOutput=syslog
StandardError=syslog
@ -13,7 +13,8 @@ SyslogIdentifier=nodebb
Environment=NODE_ENV=production
WorkingDirectory=/var/www/nodebb
ExecStart=/usr/bin/node loader.js --no-daemon --no-silent
ExecStart=./nodebb start
ExecStop=./nodebb stop
Restart=always
[Install]