]> git.meshlink.io Git - catta/blob - initscript/gentoo/avahi-daemon.in
* change process title of chroot() helper process to "chroot helper" dropping
[catta] / initscript / gentoo / avahi-daemon.in
1 #!/sbin/runscript
2 # $Id$
3 # Copyright 1999-2005 Gentoo Foundation
4 # Distributed under the terms of the GNU General Public License v2
5
6 opts="${opts} reload"
7
8 depend() {
9         use net
10         need dbus
11 }
12
13 start() {
14         ebegin "Starting avahi-daemon"
15         @sbindir@/avahi-daemon -D
16         eend $?
17 }
18
19 stop() {
20         ebegin "Stopping avahi-daemon"
21         @sbindir@/avahi-daemon -k
22         eend $?
23 }
24
25 reload() {
26         ebegin "Reloading avahi-daemon"
27         @sbindir@/avahi-daemon -r
28         eend $?
29 }