summaryrefslogtreecommitdiff
path: root/pcr/openrc-desktop/avahi-dnsconfd
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-desktop/avahi-dnsconfd')
-rw-r--r--pcr/openrc-desktop/avahi-dnsconfd28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/openrc-desktop/avahi-dnsconfd b/pcr/openrc-desktop/avahi-dnsconfd
new file mode 100644
index 000000000..1389a2889
--- /dev/null
+++ b/pcr/openrc-desktop/avahi-dnsconfd
@@ -0,0 +1,28 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
+
+depend() {
+ need avahi-daemon
+ use net
+}
+
+start() {
+ ebegin "Starting avahi-dnsconfd"
+ /usr/bin/avahi-dnsconfd -D
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping avahi-dnsconfd"
+ /usr/bin/avahi-dnsconfd -k
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading avahi-dnsconfd"
+ /usr/bin/avahi-dnsconfd -r
+ eend $?
+}