Fix service deployment
This commit is contained in:
parent
b4e8258de1
commit
1890036b6c
3 changed files with 6 additions and 3 deletions
|
|
@ -4,8 +4,8 @@ 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
|
||||
#StandardOutput=append:/home/pi/z_solar_systemd.log
|
||||
#StandardError=append:/home/pi/z_solar_systemd_err.log
|
||||
WorkingDirectory=/home/pi/
|
||||
Environment=PYTHONPATH=/home/pi/ble/
|
||||
ExecStart=/home/pi/ble-venv/bin/python -m srnemqtt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue