mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
21 lines
433 B
Desktop File
21 lines
433 B
Desktop File
[Unit]
|
|
Description=NodeBB
|
|
Documentation=https://docs.nodebb.org
|
|
After=system.slice multi-user.target mongod.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__
|
|
#PIDFile=/path/to/nodebb/pidfile
|
|
Environment="NODE_ENV=production"
|
|
Environment="__YNH_NODE_LOAD_PATH__"
|
|
|
|
#ExecStart=__NODE__/node loader.js --no-daemon --no-silent
|
|
ExecStart= start
|
|
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|