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"