22 lines
417 B
Desktop File
22 lines
417 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=/usr/bin/python3 /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
|