Debian Codegraph @

support/init.d.examples/avahid.in

raw
1 #!@SBINDIR@/openrc-run
2 # Copyright (c) 2007-2015 The OpenRC Authors.
3 # See the Authors file at the top-level directory of this distribution and
4 # https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
5 #
6 # This file is part of OpenRC. It is subject to the license terms in
7 # the LICENSE file found in the top-level directory of this
8 # distribution and at https://github.com/OpenRC/openrc/blob/HEAD/LICENSE
9 # This file may not be copied, modified, propagated, or distributed
10 # except according to the terms contained in the LICENSE file.
11
12 command=/sbin/avahi-daemon
13 command_args="$avahid_args -D"
14 pidfile=/var/run/avahi-daemon/pid
15 name="Avahi Service Advertisement Daemon"
16
17 depend()
18 {
19 use dns
20 need localmount dbus
21 after bootmisc
22 }