aboutsummaryrefslogtreecommitdiffstats
path: root/community/multicast-relay/multicast-relay.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/multicast-relay/multicast-relay.initd')
-rw-r--r--community/multicast-relay/multicast-relay.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/multicast-relay/multicast-relay.initd b/community/multicast-relay/multicast-relay.initd
new file mode 100644
index 00000000000..5cd620cfe0e
--- /dev/null
+++ b/community/multicast-relay/multicast-relay.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+name="multicast-relay"
+description="Relay broadcast and multicast packets between interfaces"
+
+command="/usr/bin/multicast-relay.py"
+command_args="--foreground --interfaces $INTERFACES $EXTRA_PARAMETERS"
+command_background=true
+
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+ need net
+}
+