Create teleinfo systemd service file

This commit is contained in:
Nicolas Simond
2022-10-16 11:29:37 +02:00
committed by GitHub
parent 308782ae5e
commit ba15406c98
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description = Run teleinfo python script
After = network.target
[Service]
Type = simple
ExecStart = python /root/teleinfo.py
User = root
Group = root
Restart = on-failure
SyslogIdentifier = teleinfo
RestartSec = 5
TimeoutStartSec = infinity
[Install]
WantedBy = multi-user.target