mirror of
https://github.com/YunoHost-Apps/timeoff_ynh.git
synced 2024-09-03 20:35:59 +02:00
18 lines
338 B
Desktop File
18 lines
338 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__ start
|
|
#start
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|