srne-mqtt/solarmppt.service
2023-12-08 16:13:47 +01:00

14 lines
375 B
Desktop File

[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