kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Switch to Python 3 in service and startup script
rodzic
72cb7ded8f
commit
46525ebfc4
|
@ -3,7 +3,7 @@ Description=auto_rx
|
|||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python /home/pi/radiosonde_auto_rx/auto_rx/auto_rx.py -t 0
|
||||
ExecStart=/usr/bin/python3 /home/pi/radiosonde_auto_rx/auto_rx/auto_rx.py -t 0
|
||||
Restart=always
|
||||
RestartSec=120
|
||||
WorkingDirectory=/home/pi/radiosonde_auto_rx/auto_rx/
|
||||
|
|
|
@ -16,4 +16,4 @@ cd /home/pi/radiosonde_auto_rx/auto_rx/
|
|||
rm log_power*.csv
|
||||
|
||||
# Start auto_rx process with a 3 hour timeout.
|
||||
python auto_rx.py -t 180
|
||||
python3 auto_rx.py -t 180
|
||||
|
|
Ładowanie…
Reference in New Issue