systemd: add variable version of temphumd service

This commit is contained in:
Evgeny Zinoviev 2022-04-29 17:17:57 +03:00
parent e93ebaad0a
commit a337f00ab1

10
systemd/temphumd@.service Normal file
View File

@ -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