aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2015-03-25 13:19:57 +0000
committerPaul Healy <lmiphay@gmail.com>2015-03-25 13:19:57 +0000
commita3f20b8e762e9503d8cd4f7aa81f200044ce0b35 (patch)
tree561111e0cfd4f17ada3c66b0a9b5a575c3d93435 /media-sound
parentinitial commit of vanilla shaiport (diff)
downloadlmiphay-a3f20b8e762e9503d8cd4f7aa81f200044ce0b35.tar.gz
lmiphay-a3f20b8e762e9503d8cd4f7aa81f200044ce0b35.tar.bz2
lmiphay-a3f20b8e762e9503d8cd4f7aa81f200044ce0b35.zip
Update shairport.initd
Diffstat (limited to 'media-sound')
-rwxr-xr-xmedia-sound/shairport/files/shairport.initd8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-sound/shairport/files/shairport.initd b/media-sound/shairport/files/shairport.initd
index 767fa5b..15ddcf8 100755
--- a/media-sound/shairport/files/shairport.initd
+++ b/media-sound/shairport/files/shairport.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -11,14 +11,16 @@ start_stop_daemon_args="
--user shairport:audio
"
-command="/usr/bin/shairport"
+command=/usr/bin/shairport
command_args="
--log=/var/log/shairport.log
--name=$HOSTNAME/shairport
$shairport_opts
"
+command_background=yes
depend() {
- need net
+ need localmount net
use avahi-daemon
+ after bootmisc
}