diff options
author | Dennis Eriksen <d@ennis.no> | 2023-02-01 20:32:11 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-02-01 20:32:11 +0100 |
commit | 8d186d39483beff64a1c11f80c6ca5e56dd7bbc5 (patch) | |
tree | 2c5a64ace4bd8eabd4d65014c5313bd7edd76191 /queue_runner.service | |
parent | run queue in batches (diff) | |
download | energyscripts-8d186d39483beff64a1c11f80c6ca5e56dd7bbc5.tar.gz |
moving and renaming/breaking everything
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 |