1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00
nodebb_ynh/conf/systemd.service

25 lines
468 B
SYSTEMD
Raw Normal View History

2017-04-20 00:12:05 +02:00
[Unit]
2021-03-25 17:00:29 +01:00
Description=NodeBB
Documentation=https://docs.nodebb.org
2021-07-02 08:11:53 +02:00
After=system.slice multi-user.target
2017-04-20 00:12:05 +02:00
[Service]
2021-03-25 17:00:29 +01:00
Type=forking
User=__APP__
2021-05-30 09:34:35 +02:00
Group=__APP__
2021-08-31 17:05:07 +02:00
2021-04-07 19:47:26 +02:00
Environment=NODE_ENV=production
2021-08-31 17:05:07 +02:00
WorkingDirectory=__FINALPATH__/
2021-09-01 15:41:13 +02:00
#PIDFile=__FINALPATH__/pidfile
2021-03-25 22:38:06 +01:00
Environment="__YNH_NODE_LOAD_PATH__"
2021-07-01 23:41:05 +02:00
ExecStart=__YNH_NODE__ __FINALPATH__/nodebb start
2021-08-31 23:19:28 +02:00
#loader.js
2017-04-20 00:12:05 +02:00
Restart=always
2021-08-31 17:05:07 +02:00
2021-05-30 09:34:35 +02:00
StandardOutput=syslog
StandardError=syslog
2021-07-01 23:31:36 +02:00
SyslogIdentifier=__APP__
2017-04-20 00:12:05 +02:00
[Install]
WantedBy=multi-user.target