teleinfo-linky-with-raspberry/teleinfo.service

22 lines
400 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Teleinformation compteur Linky
After=network-online.target
[Service]
Type=simple
2023-01-08 15:14:08 +00:00
# Run as user, make sure user can access tty (group dialout)
#User=me
#Group=me
UMask=007
2023-01-08 15:30:48 +00:00
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