aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shairport-sync/shairport-sync.initd
blob: 02b0df9eb20f6918fe8da378fc13416e4e9e9172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run

description="Implements a synchronous (multi-room-capable) AirPlay receiver"
command="/usr/bin/shairport-sync"
command_background="yes"

pidfile="/run/$RC_SVCNAME.pid"
start_stop_daemon_args="
	--stdout /var/log/$RC_SVCNAME.log
	--stderr /var/log/$RC_SVCNAME.log"

depend() {
	need net localmount avahi-daemon
}