diff options
author | Trent Lloyd <lathiat@bur.st> | 2005-06-29 03:34:45 +0000 |
---|---|---|
committer | Trent Lloyd <lathiat@bur.st> | 2005-06-29 03:34:45 +0000 |
commit | 99ad32213bca66d3350de6bbb0ef69102eb2fd7b (patch) | |
tree | 4e05de25b38aa7230bb7fe656f70a09f775d698a /initscript/Gentoo | |
parent | 54d7450ef8b085110c380d4263794deffa5edda4 (diff) |
* Patch by Steev Klimaszewski for gentoo compilation
* Small dbus-protocol.c change
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@153 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'initscript/Gentoo')
-rw-r--r-- | initscript/Gentoo/Makefile.am | 4 | ||||
-rw-r--r-- | initscript/Gentoo/avahi.in | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/initscript/Gentoo/Makefile.am b/initscript/Gentoo/Makefile.am new file mode 100644 index 0000000..9d95673 --- /dev/null +++ b/initscript/Gentoo/Makefile.am @@ -0,0 +1,4 @@ +dbusinitddir = $(sysconfdir)/dbus-1/system.d +dbusinitd_SCRIPTS = avahi + +EXTRA_DIST = $(dbusinitd_SCRIPTS) diff --git a/initscript/Gentoo/avahi.in b/initscript/Gentoo/avahi.in new file mode 100644 index 0000000..af26512 --- /dev/null +++ b/initscript/Gentoo/avahi.in @@ -0,0 +1,20 @@ +DAEMON=/usr/bin/avahi + +start() { + ebegin "Starting avahi" + start-stop-daemon --start --quiet --exec $DAEMON + eend $? +} + +stop() { + ebegin "Stopping avahi" + start-stop-daemon --stop --quiet --exec $DAEMON + eend $? +} + +reload() { + ebegin "Reloading avahi configuration" + start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON + eend $? +} + |