mirror of
https://github.com/stylersnico/teleinfo-linky-with-raspberry.git
synced 2026-06-04 16:18:25 +02:00
Create teleinfo systemd service file
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user