summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/mpd
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-12-09 23:00:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-12-09 23:00:57 (GMT)
commitfc357b029363755a1a75e05700701265134e71d6 (patch)
tree3934ade5d8c8e32875cdc18cd536359de9c62532 /abs/core/runit-scripts/runitscripts/services/mpd
parent23b63734b90bb8c37d88673383002cbd210cdc99 (diff)
parentefb028d99b56e06e48dfc3d762e9d699ee1f24b7 (diff)
downloadlinhes_pkgbuild-fc357b029363755a1a75e05700701265134e71d6.zip
linhes_pkgbuild-fc357b029363755a1a75e05700701265134e71d6.tar.gz
linhes_pkgbuild-fc357b029363755a1a75e05700701265134e71d6.tar.bz2
Merge branch 'testing' of linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mpd')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mpd/log/run5
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/mpd/run9
2 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mpd/log/run b/abs/core/runit-scripts/runitscripts/services/mpd/log/run
new file mode 100755
index 0000000..bc856fe
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mpd/log/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+exec 2>&1
+. /etc/systemconfig
+ /usr/bin/logger -t mpd
+
diff --git a/abs/core/runit-scripts/runitscripts/services/mpd/run b/abs/core/runit-scripts/runitscripts/services/mpd/run
new file mode 100755
index 0000000..c4bd347
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/mpd/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting mpd"
+
+
+exec 2>&1
+exec /usr/bin/mpd --no-daemon --stdout 2>&1