From f7de2fbad2d109856427240a35f106a718efc6e6 Mon Sep 17 00:00:00 2001 From: Alexander Sajzew Date: Tue, 10 Oct 2023 17:24:01 +0200 Subject: [PATCH 1/2] updated start command for avahi-daemon to work with Debian 12 (fixes #384) --- debian12/scripts/setup_avahi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian12/scripts/setup_avahi.sh b/debian12/scripts/setup_avahi.sh index 46d5873..a20634e 100644 --- a/debian12/scripts/setup_avahi.sh +++ b/debian12/scripts/setup_avahi.sh @@ -32,7 +32,7 @@ echo -n "[setup_avahi.sh] Starting dbus... " echo "Done." echo -n "[setup_avahi.sh] Starting avahi-daemon... " - /etc/init.d/avahi-daemon start >> /opt/scripts/avahi_startup.log 2>&1 + avahi-daemon -D echo "Done." exit 0 From 3553ce3a653c5304b52ee9cac87b0dbc3f2ffbdd Mon Sep 17 00:00:00 2001 From: Alexander Sajzew Date: Tue, 10 Oct 2023 18:37:24 +0200 Subject: [PATCH 2/2] start without daemonize and put it into background so we can redirect logs --- debian12/scripts/setup_avahi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian12/scripts/setup_avahi.sh b/debian12/scripts/setup_avahi.sh index a20634e..a68e429 100644 --- a/debian12/scripts/setup_avahi.sh +++ b/debian12/scripts/setup_avahi.sh @@ -32,7 +32,7 @@ echo -n "[setup_avahi.sh] Starting dbus... " echo "Done." echo -n "[setup_avahi.sh] Starting avahi-daemon... " - avahi-daemon -D + avahi-daemon >> /opt/scripts/avahi_startup.log 2>&1 & echo "Done." exit 0