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:
parent
8a60b38306
commit
013728b075
1 changed files with 6 additions and 2 deletions
|
@ -5,10 +5,14 @@ After=system.slice multi-user.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
User=nodebb
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=nodebb
|
||||
|
||||
Environment=NODE_ENV=production
|
||||
WorkingDirectory=__PATH__
|
||||
WorkingDirectory=/var/www/nodebb
|
||||
ExecStart=/usr/bin/node loader.js --no-daemon --no-silent
|
||||
Restart=always
|
||||
|
||||
|
|
Loading…
Reference in a new issue