Update 'README.md'

This commit is contained in:
gitouche 2023-01-09 20:12:02 +00:00
parent 9e076bd2eb
commit 700234f375

View file

@ -14,16 +14,17 @@ git clone https://git.garbaye.fr/gitouche/teleinfo-linky-with-raspberry.git
## Configuration
Créer et modifier le fichier de configuration :
```
cd /opt/teleinfo-linky-with-raspberry
cp settings-example.py settings.py
vi settings.py
```
Ajuster et installer l'unit systemd si besoin :
Ajuster l'unit systemd si besoin :
```
vi teleinfo.service
cp teleinfo.service /usr/lib/systemd/system/teleinfo.service
systemctl start teleinfo.service
```
Perréniser :
```
cp teleinfo.service /usr/lib/systemd/system/teleinfo.service
systemctl start teleinfo.service
systemctl enable teleinfo.service
```