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