diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-12-09 23:00:57 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-12-09 23:00:57 (GMT) |
commit | fc357b029363755a1a75e05700701265134e71d6 (patch) | |
tree | 3934ade5d8c8e32875cdc18cd536359de9c62532 /abs/core/runit-scripts/runitscripts/services/mpd | |
parent | 23b63734b90bb8c37d88673383002cbd210cdc99 (diff) | |
parent | efb028d99b56e06e48dfc3d762e9d699ee1f24b7 (diff) | |
download | linhes_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-x | abs/core/runit-scripts/runitscripts/services/mpd/log/run | 5 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mpd/run | 9 |
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 |