aboutsummaryrefslogtreecommitdiffstats
path: root/mqtt_temps.service
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-01-31 07:49:27 +0100
committerDennis Eriksen <d@ennis.no>2023-01-31 07:49:27 +0100
commit4b9958dd25bf67ec2a9fb6bbb9f1e2c7e9ee9321 (patch)
tree507d6854eb0ad5495aef90be89b53df4bf253991 /mqtt_temps.service
parentadding handler for tempsensors on mqtt (diff)
downloadenergyscripts-4b9958dd25bf67ec2a9fb6bbb9f1e2c7e9ee9321.tar.gz
handle HAN as well
Diffstat (limited to '')
-rw-r--r--mqtt2pgsql.service (renamed from mqtt_temps.service)4
1 files changed, 2 insertions, 2 deletions
diff --git a/mqtt_temps.service b/mqtt2pgsql.service
index d6a859e..d400b10 100644
--- a/mqtt_temps.service
+++ b/mqtt2pgsql.service
@@ -7,11 +7,11 @@ StartLimitBurst=5
Type=simple
EnvironmentFile=%h/energyscripts/.env
WorkingDirectory=%h/energyscripts
-ExecStart=%h/energyscripts/venv/bin/python3 -u mqtt_temps.py
+ExecStart=%h/energyscripts/venv/bin/python3 -u mqtt2pgsql.py
Restart=on-failure
TimeoutStopSec=70
RestartSec=30
-SyslogIdentifier=mqtt_temps
+SyslogIdentifier=mqtt2pgsql
#StandardOutput=journal
#StandardError=journal