autodeploygit_ynh/conf/systemd.service

16 lines
297 B
SYSTEMD
Raw Normal View History

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