diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-04-29 16:41:59 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-04-29 17:05:35 +0300 |
commit | e93ebaad0a01c90237280cbdf98099abef6adefa (patch) | |
tree | 878050ad240ca6af4286a198439205d291677be9 /systemd | |
parent | c412bf2ee0a3fbf9032fc32a26837d4fbc7585c5 (diff) |
temphum: support multiple temp/relhum sensors
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/sensors_mqtt_sender.service | 2 | ||||
-rw-r--r-- | systemd/si7021d.service | 10 | ||||
-rw-r--r-- | systemd/temphumd.service | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/systemd/sensors_mqtt_sender.service b/systemd/sensors_mqtt_sender.service index 54da7f6..a271d72 100644 --- a/systemd/sensors_mqtt_sender.service +++ b/systemd/sensors_mqtt_sender.service @@ -1,6 +1,6 @@ [Unit] Description=Sensors MQTT sender -After=si7021d.service +After=temphumd.service [Service] User=user diff --git a/systemd/si7021d.service b/systemd/si7021d.service deleted file mode 100644 index 646746b..0000000 --- a/systemd/si7021d.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=si7021 daemon -After=network-online.target - -[Service] -Restart=on-failure -ExecStart=/home/user/homekit/src/si7021d.py --config /etc/si7021d.toml - -[Install] -WantedBy=multi-user.target diff --git a/systemd/temphumd.service b/systemd/temphumd.service new file mode 100644 index 0000000..1da9617 --- /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/temphumd.toml + +[Install] +WantedBy=multi-user.target |