mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
23 lines
483 B
Desktop File
23 lines
483 B
Desktop File
[Unit]
|
|
Description=NodeBB: Forum software
|
|
Documentation=https://docs.nodebb.org
|
|
After=system.slice multi-user.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=__APP__
|
|
Group=__APP__
|
|
Environment=NODE_ENV=production
|
|
WorkingDirectory=__FINALPATH__/
|
|
#PIDFile=__FINALPATH__/pidfile
|
|
Environment="__YNH_NODE_LOAD_PATH__"
|
|
ExecStart=__YNH_NODE__ __FINALPATH__/nodebb start
|
|
#loader.js
|
|
Restart=always
|
|
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=__APP__
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|