diff options
Diffstat (limited to '')
-rw-r--r-- | queue_runner.service (renamed from mqtt2queue.service) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mqtt2queue.service b/queue_runner.service index a63c994..6b78068 100644 --- a/mqtt2queue.service +++ b/queue_runner.service @@ -1,5 +1,5 @@ [Unit] -Description=Simple service to start python-listener +Description=Simple service to start queue-runner StartLimitIntervalSec=100 StartLimitBurst=5 @@ -7,11 +7,11 @@ StartLimitBurst=5 Type=simple EnvironmentFile=%h/energyscripts/.env WorkingDirectory=%h/energyscripts -ExecStart=%h/energyscripts/venv/bin/python3 -u mqtt2queue.py +ExecStart=%h/energyscripts/venv/bin/python3 -u scripts/queue_runner.py Restart=on-failure TimeoutStopSec=70 RestartSec=30 -SyslogIdentifier=mqtt2queue +SyslogIdentifier=%N [Install] WantedBy=default.target |