- [Unit]
- Description=pyHeatpump fetch - retrieve the data from the serial port with modbus
- Wants=dev-ttyUSB0.device
-
- [Service]
- Type=simple
- WorkingDirectory=/var/lib/pyheatpump/
- Environment="LOGLEVEL=INFO"
- ExecStart=/usr/bin/env pyheatpump fetch -t D -t A -t I
- ExecStop=/usr/bin/env pyheatpump supervise --since
- KillMode=mixed
- TimeoutStopSec=30
- PrivateTmp=true
|