<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5544&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / avahi-daemon doesn't have init script since v0.8-8]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5544</link>
		<description><![CDATA[The most recent posts in avahi-daemon doesn't have init script since v0.8-8.]]></description>
		<lastBuildDate>Mon, 13 Feb 2023 21:59:14 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: avahi-daemon doesn't have init script since v0.8-8]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41081#p41081</link>
			<description><![CDATA[<p>Hi,</p><p>scripts for avahi-daemon and avahi-dnsconfd have been added<br />to the latest orphan-sysvinit-scripts version (0.13)</p><p>Lorenzo</p>]]></description>
			<author><![CDATA[dummy@example.com (Lorenzo)]]></author>
			<pubDate>Mon, 13 Feb 2023 21:59:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41081#p41081</guid>
		</item>
		<item>
			<title><![CDATA[Re: avahi-daemon doesn't have init script since v0.8-8]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41023#p41023</link>
			<description><![CDATA[<p>Here is an original init script <span class="bbc">/etc/init.d/avahi-daemon</span> from avahi-daemon version 0.8-7:</p><div class="codebox"><pre class="vscroll"><code>#!/bin/sh
### BEGIN INIT INFO
# Provides:          avahi avahi-daemon
# Required-Start:    $remote_fs dbus
# Required-Stop:     $remote_fs dbus
# Should-Start:	     $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Avahi mDNS/DNS-SD Daemon
# Description:       Zeroconf daemon for configuring your network 
#                    automatically
### END INIT INFO

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC=&quot;Avahi mDNS/DNS-SD Daemon&quot;
NAME=&quot;avahi-daemon&quot;
DAEMON=&quot;/usr/sbin/$NAME&quot;
SCRIPTNAME=/etc/init.d/$NAME

# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0

. /lib/lsb/init-functions

# Include avahi-daemon defaults if available.
test -f /etc/default/avahi-daemon &amp;&amp; . /etc/default/avahi-daemon

DISABLE_TAG=&quot;/var/run/avahi-daemon/disabled-for-unicast-local&quot;

#
#       Function that starts the daemon/service.
#
d_start() {
    $DAEMON -c &amp;&amp; return 0

    if [ -e $DISABLE_TAG -a &quot;$AVAHI_DAEMON_DETECT_LOCAL&quot; != &quot;0&quot; ]; then
        # Disabled because of the existance of an unicast .local domain
        log_warning_msg &quot;avahi-daemon disabled because there is a unicast .local domain&quot;
        exit 0;
    fi;

    $DAEMON -D
}

#
#       Function that stops the daemon/service.
#
d_stop() {
    if $DAEMON -c ; then
       $DAEMON -k
    fi
}

#
#       Function that reload the config file for the daemon/service.
#
d_reload() {
    $DAEMON -c &amp;&amp; $DAEMON -r
}

#
#       Function that check the status of the daemon/service.
#
d_status() {
    $DAEMON -c &amp;&amp; { echo &quot;$DESC is running&quot;; exit 0; } || { echo &quot;$DESC is not running&quot;; exit 3; }
}

case &quot;$1&quot; in
    start)
        log_daemon_msg &quot;Starting $DESC&quot; &quot;$NAME&quot;
        d_start
        log_end_msg $?
        ;;
    stop)
        log_daemon_msg &quot;Stopping $DESC&quot; &quot;$NAME&quot;
        d_stop
        log_end_msg $?
        ;;
    reload|force-reload)
        log_daemon_msg &quot;Reloading services for $DESC&quot; &quot;$NAME&quot;
        d_reload
        log_end_msg $?
        ;;
    restart)
        log_daemon_msg &quot;Restarting $DESC&quot; &quot;$NAME&quot;
        d_stop
        if [ &quot;$?&quot; -eq 0 ]; then
                d_start
                log_end_msg $?
        else
                log_end_msg 1
        fi
        ;;
    status)
        d_status
        ;;
    *)
        echo &quot;Usage: $SCRIPTNAME {start|stop|restart|force-reload|reload|status}&quot; &gt;&amp;2
        exit 3
        ;;
esac

exit 0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (vazhnov)]]></author>
			<pubDate>Sat, 11 Feb 2023 12:33:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41023#p41023</guid>
		</item>
		<item>
			<title><![CDATA[Re: avahi-daemon doesn't have init script since v0.8-8]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41003#p41003</link>
			<description><![CDATA[<p>Try this in /etc/init.d/avahi:</p><div class="codebox"><pre class="vscroll"><code>#!/bin/sh
# Generated by sysd2v v0.3  --  http://www.trek.eu.org/devel/sysd2v
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != &quot;$INIT_D_SCRIPT_SOURCED&quot; ] ; then
    set &quot;$0&quot; &quot;$@&quot;; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides:       avahi-daemon dbus-org.freedesktop.Avahi
# Required-Start: $remote_fs
# Required-Stop:  $remote_fs
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    Avahi mDNS/DNS-SD Stack
### END INIT INFO
DAEMON=/usr/bin/avahi-daemon
DAEMON_ARGS=&quot;-s&quot;
PIDFILE=/var/run/avahi-daemon-sysd2v.pid
START_ARGS=&quot;--background --make-pidfile&quot;

do_reload_cmd_override ()
{
  /usr/bin/avahi-daemon -r || return 2
}

do_reload ()
{
  log_daemon_msg &quot;Reloading $DESC configuration files&quot; &quot;$NAME&quot;
  MAINPID=$(cat $PIDFILE)
  do_reload_cmd_override
  log_end_msg $?
}</code></pre></div><p>Enable the service with</p><div class="codebox"><pre><code># update-rc.d avahi defaults</code></pre></div><p>Disclaimer: untested.</p><p>If it works it could be added to the orphan-sysvinit-scripts package.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 10 Feb 2023 22:56:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41003#p41003</guid>
		</item>
		<item>
			<title><![CDATA[Re: avahi-daemon doesn't have init script since v0.8-8]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41000#p41000</link>
			<description><![CDATA[<p>Thank you for offering to do so! <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 10 Feb 2023 21:54:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41000#p41000</guid>
		</item>
		<item>
			<title><![CDATA[avahi-daemon doesn't have init script since v0.8-8]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40998#p40998</link>
			<description><![CDATA[<p>I use Devuan 5 daedalus/ceres with repository:</p><div class="codebox"><pre><code>deb http://deb.devuan.org/merged daedalus main non-free contrib</code></pre></div><p>Today I&#039;ve got update:</p><div class="codebox"><pre><code>The following packages will be upgraded:
   avahi-autoipd (0.8-7 =&gt; 0.8-8)
   avahi-daemon (0.8-7 =&gt; 0.8-8)
   avahi-utils (0.8-7 =&gt; 0.8-8)</code></pre></div><p>and I saw</p><div class="codebox"><pre><code>Removing obsolete conffile /etc/init.d/avahi-daemon ...</code></pre></div><p>Here is that I found: <a href="https://tracker.debian.org/news/1417862/accepted-avahi-08-8-source-into-unstable/" rel="nofollow">https://tracker.debian.org/news/1417862 … -unstable/</a>.</p><p>Probably it is time to do a Devuan fork of this package.</p>]]></description>
			<author><![CDATA[dummy@example.com (vazhnov)]]></author>
			<pubDate>Fri, 10 Feb 2023 21:49:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40998#p40998</guid>
		</item>
	</channel>
</rss>
