teleinfo-linky-with-raspberry/teleinfo.service
2023-01-02 13:25:04 +01:00

21 lines
389 B
Desktop File

[Unit]
Description=Teleinformation compteur Linky
After=network-online.target
[Service]
Type=simple
User=guillaume
Group=guillaume
UMask=007
ExecStart=/usr/bin/python3 /home/guillaume/teleinfo-linky-with-raspberry/teleinfo_standard.py
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target