1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timeoff_ynh.git synced 2024-09-03 20:35:59 +02:00
timeoff_ynh/conf/systemd.service

18 lines
337 B
SYSTEMD
Raw Normal View History

2018-04-03 19:00:18 +02:00
[Unit]
Description=Timeoff management
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2021-08-31 14:47:12 +02:00
#Environment="PORT=__PORT__"
#Environment="PATH=__ENV_PATH__"
2018-04-04 11:55:59 +02:00
Environment="NODE_ENV=production"
2021-08-30 23:30:41 +02:00
WorkingDirectory=__FINALPATH__/
2021-08-31 14:46:04 +02:00
ExecStart=__YNH_NODE__ bin/wwww
2018-04-03 19:00:18 +02:00
Restart=always
[Install]
WantedBy=multi-user.target