garage_ynh/conf/systemd.service

14 lines
261 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__/
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target