From f32fd7b020f386a1c898426cd1b874fe06e78c33 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 4 Jan 2023 02:34:19 +0300 Subject: relay_mqtt_http_proxy: add systemd unit --- systemd/relay_mqtt_http_proxy.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd/relay_mqtt_http_proxy.service 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 -- cgit v1.2.3