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
2022-02-09 18:21:20 +01:00

17 lines
342 B
Desktop File

[Unit]
Description=Timeoff management
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
#Environment="PORT=__PORT__"
Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
WorkingDirectory=__FINALPATH__/
ExecStart=__YNH_NODE__ bin/wwww #start
Restart=always
[Install]
WantedBy=multi-user.target