radiosonde_auto_rx/auto_rx/auto_rx.service

21 wiersze
549 B
INI

2017-12-05 10:00:29 +00:00
[Unit]
Description=auto_rx
After=syslog.target
[Service]
# 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
RestartSec=120
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