teleinfo-linky-with-raspberry/teleinfo.service
2023-01-08 16:30:48 +01:00

22 lines
400 B
Desktop File

[Unit]
Description=Teleinformation compteur Linky
After=network-online.target
[Service]
Type=simple
# Run as user, make sure user can access tty (group dialout)
#User=me
#Group=me
UMask=007
ExecStart=/opt/teleinfo-linky-with-raspberry/teleinfo.py
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=30
[Install]
WantedBy=multi-user.target