aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shairport-sync/shairport-sync.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/shairport-sync/shairport-sync.initd')
-rw-r--r--testing/shairport-sync/shairport-sync.initd10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/shairport-sync/shairport-sync.initd b/testing/shairport-sync/shairport-sync.initd
new file mode 100644
index 0000000000..31f7643c83
--- /dev/null
+++ b/testing/shairport-sync/shairport-sync.initd
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+
+description="Implements a synchronous (multi-room-capable) AirPlay receiver"
+command="/usr/bin/shairport-sync"
+command_args="-d"
+pidfile="/run/$RC_SVCNAME.pid"
+
+depend() {
+ need net localmount avahi-daemon
+}