relay_mqtt_http_proxy: add systemd unit
This commit is contained in:
parent
ee8381f7c5
commit
f32fd7b020
12
systemd/relay_mqtt_http_proxy.service
Normal file
12
systemd/relay_mqtt_http_proxy.service
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user