diff options
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 |