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
c8f747cbeb
commit
78ed4c9c74
1 changed files with 8 additions and 11 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue