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:
parent
c2fc2426de
commit
6016faf869
1 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue