aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shairport-sync/shairport-sync.initd
diff options
context:
space:
mode:
authorHenrik Nilsson <henrik.nilsson@bytequest.se>2017-04-05 17:49:40 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-11 13:52:14 +0200
commitc280e19e3045d953eab484084224b6500644ceb1 (patch)
tree2e8a2ee172292fcd9f0beb4114cd28f7bb6e3323 /testing/shairport-sync/shairport-sync.initd
parent5c20bfd8ebbb9ded7ff99c53c376799fc549a193 (diff)
downloadaports-c280e19e3045d953eab484084224b6500644ceb1.tar.bz2
aports-c280e19e3045d953eab484084224b6500644ceb1.tar.xz
testing/shairport-sync: add init script
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
+}