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

19 lines
338 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__
Environment="PORT=__PORT__"
2021-08-30 23:30:41 +02:00
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 13:54:24 +02:00
ExecStart=__YNH_NODE__ start
2021-08-31 12:36:43 +02:00
#start
2018-04-03 19:00:18 +02:00
Restart=always
[Install]
WantedBy=multi-user.target