diff --git a/homeassistant-supervised/DEBIAN/postinst b/homeassistant-supervised/DEBIAN/postinst index 58f5a32..9a15ab1 100755 --- a/homeassistant-supervised/DEBIAN/postinst +++ b/homeassistant-supervised/DEBIAN/postinst @@ -24,6 +24,10 @@ URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt" info "Restarting NetworkManager" systemctl restart "${SERVICE_NM}" +# Set permissions of /etc/systemd/resolved.conf +info "Setting permissions of /etc/systemd/resolved.conf" +chmod 644 /etc/systemd/resolved.conf + # Enable and restart systemd-resolved info "Enable systemd-resolved" systemctl enable systemd-resolved.service> /dev/null 2>&1; diff --git a/homeassistant-supervised/DEBIAN/rules b/homeassistant-supervised/DEBIAN/rules deleted file mode 100644 index f075985..0000000 --- a/homeassistant-supervised/DEBIAN/rules +++ /dev/null @@ -1 +0,0 @@ -etc/systemd/resolved.conf 644 \ No newline at end of file