summaryrefslogtreecommitdiff
path: root/net-misc/igmpproxy/files/igmpproxy.initd-r1
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/igmpproxy/files/igmpproxy.initd-r1')
-rw-r--r--net-misc/igmpproxy/files/igmpproxy.initd-r112
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/igmpproxy/files/igmpproxy.initd-r1 b/net-misc/igmpproxy/files/igmpproxy.initd-r1
new file mode 100644
index 000000000000..c5f9e56536ad
--- /dev/null
+++ b/net-misc/igmpproxy/files/igmpproxy.initd-r1
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+config="/etc/${RC_SVCNAME}.conf"
+name="IGMPproxy"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+command="/usr/sbin/igmpproxy"
+command_args="${IGMPPROXY_OPTS} -n ${config}"
+command_background="true"
+required_files="${config}"