„solar.service“ hinzufügen
This commit is contained in:
parent
493a3bceb2
commit
4b422a7997
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Hoymiles solar data retriever
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
User=root
|
||||||
|
WorkingDirectory=/opt/hoymiles
|
||||||
|
ExecStart=/usr/bin/python3 /opt/hoymiles/solar.py
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue