gpiorelayd: update systemd service unit file
This commit is contained in:
parent
a3d6fadb2e
commit
d1331c2904
@ -1,12 +1,13 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=GPIO Relay Daemon
|
Description=Homekit: GPIO Relay Daemon for H3 boards
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ExecStart=/home/user/homekit/bin/gpiorelayd.py -c /etc/gpiorelayd.conf.d/%i.toml
|
EnvironmentFile=/etc/default/homekit_gpiorelayd_%i
|
||||||
|
ExecStart=/home/user/homekit/bin/gpiorelayd.py --pin $PIN --listen $LISTEN
|
||||||
WorkingDirectory=/root
|
WorkingDirectory=/root
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user