summaryrefslogtreecommitdiff
path: root/systemd/inverter_mqtt_receiver.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/inverter_mqtt_receiver.service')
-rw-r--r--systemd/inverter_mqtt_receiver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/inverter_mqtt_receiver.service b/systemd/inverter_mqtt_receiver.service
new file mode 100644
index 0000000..88f9169
--- /dev/null
+++ b/systemd/inverter_mqtt_receiver.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Inverter MQTT receiver
+After=clickhouse-server.service
+
+[Service]
+User=user
+Group=user
+Restart=on-failure
+ExecStart=/home/user/homekit/bin/inverter_mqtt_util.py receiver
+WorkingDirectory=/home/user
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file