diff --git a/air_monitor.service b/air_monitor.service index 2c58cdb..19aafe6 100644 --- a/air_monitor.service +++ b/air_monitor.service @@ -4,7 +4,7 @@ After=syslog.target [Service] WorkingDirectory=/opt/air_monitor -ExecStart=/opt/air_monitor/venv/bin/python run.py +ExecStart=/opt/air_monitor/venv/bin/python main.py TimeoutStartSec=5 User=nobody Group=nobody