summaryrefslogtreecommitdiff
path: root/systemd/gpiorelayd@.service
blob: e3922dcbad0c6b95b75eb147512754b0175aace8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Homekit: GPIO Relay Daemon for H3 boards
After=network-online.target

[Service]
User=root
Group=root
Restart=on-failure
EnvironmentFile=/etc/default/homekit_gpiorelayd_%i
ExecStart=/home/user/homekit/bin/gpiorelayd.py --pin $PIN --listen $LISTEN
WorkingDirectory=/root

[Install]
WantedBy=multi-user.target