From 20776dd9f512f4c7b5f4143a51db177e31f6c578 Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Mon, 2 Oct 2023 02:31:46 +0000 Subject: [PATCH] add nfs-utils.service --- homeassistant-supervised/DEBIAN/postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index 414e8b2..b123c2e 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -45,6 +45,12 @@ if [ "$(systemctl is-active systemd-journal-gatewayd.socket)" = 'inactive' ]; th systemctl enable systemd-journal-gatewayd.socket> /dev/null 2>&1; systemctl start systemd-journal-gatewayd.socket> /dev/null 2>&1; fi +# Enable and start nfs-utils.service for nfs mounts +if [ "$(systemctl is-active nfs-utils.service)" = 'inactive' ]; then + info "Enable nfs-utils.service" + systemctl enable nfs-utils.service> /dev/null 2>&1; + systemctl start nfs-utils.service> /dev/null +fi # Restart Docker service info "Restarting docker service"