srne-mqtt/solarmppt.service

15 lines
375 B
SYSTEMD
Raw Normal View History

2023-12-08 13:33:08 +00:00
[Unit]
Description=Daemon for bridging a Serial SRNE MPPT charge controller to MQTT
[Service]
Type=exec
Restart=on-failure
StandardOutput=append:/home/pi/z_solar_systemd.log
StandardError=append:/home/pi/z_solar_systemd.log
WorkingDirectory=/home/pi/
Environment=PYTHONPATH=/home/pi/ble/
ExecStart=/home/pi/ble-venv/bin/python -m srnemqtt
[Install]
WantedBy=default.target