You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
273 B
INI

[Unit]
Description=Small description of the service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
5 years ago
ExecStart=python3 __FINALPATH__/service.py >> /var/log/__APP__/__APP__.log 2>&1
[Install]
WantedBy=multi-user.target