Don't disable avahi-daemon by force in conf_regen

This commit is contained in:
selfhoster1312 2023-01-01 16:50:55 +01:00 committed by user
parent ba60ece609
commit 82cb549daf

View file

@ -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