2017-12-05 10:00:29 +00:00
|
|
|
[Unit]
|
|
|
|
Description=auto_rx
|
|
|
|
After=syslog.target
|
|
|
|
|
|
|
|
[Service]
|
2023-10-27 03:16:34 +00:00
|
|
|
# For running outside of a python virtual environment
|
|
|
|
# ExecStart=/usr/bin/python3 /home/pi/radiosonde_auto_rx/auto_rx/auto_rx.py -t 0
|
|
|
|
|
|
|
|
# For running within a venv, located at /home/pi/radiosonde_auto_rx/auto_rx/venv/
|
|
|
|
ExecStart=/home/pi/radiosonde_auto_rx/auto_rx/venv/bin/python3 /home/pi/radiosonde_auto_rx/auto_rx/auto_rx.py -t 0
|
2017-12-05 10:00:29 +00:00
|
|
|
Restart=always
|
2019-03-05 10:38:28 +00:00
|
|
|
RestartSec=120
|
2017-12-17 07:59:32 +00:00
|
|
|
WorkingDirectory=/home/pi/radiosonde_auto_rx/auto_rx/
|
|
|
|
User=pi
|
2017-12-31 11:21:10 +00:00
|
|
|
SyslogIdentifier=auto_rx
|
2017-12-05 10:00:29 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
|