garage_ynh/conf/systemd.service

16 lines
297 B
SYSTEMD
Raw Normal View History

2017-09-05 15:47:31 +00:00
[Unit]
Description=Small description of the service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
2020-12-10 12:46:39 +00:00
ExecStart=__FINALPATH__/script
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
2017-09-05 15:47:31 +00:00
[Install]
WantedBy=multi-user.target