From a337f00ab15d2f6e789ccec3083433681a421d08 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 29 Apr 2022 17:17:57 +0300 Subject: [PATCH] systemd: add variable version of temphumd service --- systemd/temphumd@.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd/temphumd@.service 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