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

18 lines
308 B
SYSTEMD
Raw Normal View History

2017-04-20 00:12:05 +02:00
[Unit]
Description=NodeBB forum for Node.js.
2017-07-25 13:45:30 +02:00
After=syslog.target
After=network.target
2017-04-20 00:12:05 +02:00
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__
2017-07-25 13:45:30 +02:00
ExecStartPre=__NODEJS__
Environment="PATH=__ENV_PATH__"
ExecStart=__NODE__ app.js start
2017-04-20 00:12:05 +02:00
Restart=always
[Install]
WantedBy=multi-user.target