diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-04-29 17:17:57 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-04-29 17:17:57 +0300 |
commit | a337f00ab15d2f6e789ccec3083433681a421d08 (patch) | |
tree | 659380ee166da8a11800e1e26d49e11c9bcb0c7d | |
parent | e93ebaad0a01c90237280cbdf98099abef6adefa (diff) |
systemd: add variable version of temphumd service
-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 |