From 82cb549daf30f6c98e798a79b6002b9579118762 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sun, 1 Jan 2023 16:50:55 +0100 Subject: [PATCH] Don't disable avahi-daemon by force in conf_regen --- hooks/conf_regen/37-mdns | 3 --- 1 file changed, 3 deletions(-) diff --git a/hooks/conf_regen/37-mdns b/hooks/conf_regen/37-mdns index 3a877970b..bd813e588 100755 --- a/hooks/conf_regen/37-mdns +++ b/hooks/conf_regen/37-mdns @@ -53,9 +53,6 @@ do_post_regen() { systemctl daemon-reload fi - systemctl disable avahi-daemon.socket --quiet --now 2>/dev/null || true - systemctl disable avahi-daemon --quiet --now 2>/dev/null || true - # Legacy stuff to enable the new yunomdns service on legacy systems if [[ -e /etc/avahi/avahi-daemon.conf ]] && grep -q 'yunohost' /etc/avahi/avahi-daemon.conf; then systemctl enable yunomdns --now --quiet