ajout fichiers service + lien symbolique
This commit is contained in:
parent
419d29f5be
commit
9002994036
20
teleinfo.service
Normal file
20
teleinfo.service
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[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
|
1
teleinfo_standard.py
Symbolic link
1
teleinfo_standard.py
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
teleinfo.py
|
Loading…
Reference in a new issue