mirror of https://github.com/lumapu/ahoy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
330 B
14 lines
330 B
[Unit]
|
|
Description=Hoymiles Exporter
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/home/rpi/hoymiles_exporter
|
|
ExecStart=/usr/bin/bash -c 'cd /home/rpi/hoymiles_exporter ; /usr/bin/python3 -um hoymiles --config ahoy.yml'
|
|
User=rpi
|
|
KillMode=process
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=hoymiles.service
|
|
|