summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systemd/relay_mqtt_http_proxy.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/relay_mqtt_http_proxy.service b/systemd/relay_mqtt_http_proxy.service
new file mode 100644
index 0000000..316a920
--- /dev/null
+++ b/systemd/relay_mqtt_http_proxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=homekit relay_mqtt_http_proxy
+After=network-online.target
+
+[Service]
+Restart=on-failure
+User=user
+WorkingDirectory=/home/user
+ExecStart=/home/user/homekit/src/relay_mqtt_http_proxy.py
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file