diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-01-04 02:34:19 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-01-04 02:34:19 +0300 |
commit | f32fd7b020f386a1c898426cd1b874fe06e78c33 (patch) | |
tree | e7c1085d0ccb9e85b492e76912a47175acc0eca0 | |
parent | ee8381f7c5d9646688c5b9295ac7078b42415ba2 (diff) |
relay_mqtt_http_proxy: add systemd unit
-rw-r--r-- | systemd/relay_mqtt_http_proxy.service | 12 |
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 |