example2-app/example-app.service

11 lines
184 B
INI

[Unit]
Description=example-app
[Service]
ExecStart=/usr/bin/python3 /usr/local/sdt/app/appName/main.py -app appName
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target