srne-mqtt/solarmppt.service

15 lines
381 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
2024-01-03 10:28:33 +00:00
#StandardOutput=append:/home/pi/z_solar_systemd.log
#StandardError=append:/home/pi/z_solar_systemd_err.log
2023-12-08 13:33:08 +00:00
WorkingDirectory=/home/pi/
Environment=PYTHONPATH=/home/pi/ble/
ExecStart=/home/pi/ble-venv/bin/python -m srnemqtt
[Install]
WantedBy=default.target