diff options
-rw-r--r-- | systemd/temphumd@.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/temphumd@.service b/systemd/temphumd@.service new file mode 100644 index 0000000..eb74599 --- /dev/null +++ b/systemd/temphumd@.service @@ -0,0 +1,10 @@ +[Unit] +Description=temperature and humidity daemon +After=network-online.target + +[Service] +Restart=on-failure +ExecStart=/home/user/homekit/src/temphumd.py --config /etc/%i.toml + +[Install] +WantedBy=multi-user.target |