diff options
Diffstat (limited to '')
-rw-r--r-- | mqtt_listener.service (renamed from queue2pgsql.service) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queue2pgsql.service b/mqtt_listener.service index 49e4066..1ae79ca 100644 --- a/queue2pgsql.service +++ b/mqtt_listener.service @@ -1,5 +1,5 @@ [Unit] -Description=Simple service to start python-listener +Description=Simple service to start mqtt-listener 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 queue2pgsql.py +ExecStart=%h/energyscripts/venv/bin/python3 -u scripts/mqtt_listener.py Restart=on-failure TimeoutStopSec=70 RestartSec=30 -SyslogIdentifier=queue2pgsql +SyslogIdentifier=%N [Install] WantedBy=default.target |