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