teleinfo-linky-with-raspberry/teleinfo.service

21 lines
389 B
SYSTEMD
Raw Normal View History

[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