diff options
author | James Meyer <james.meyer@operamail.com> | 2013-12-09 17:55:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-12-09 17:58:42 (GMT) |
commit | fa1c09c45b64e180f8deb8c7d4858e1a2eb5fb01 (patch) | |
tree | eed90e3f64706535a55ca84edf4bf9e58e8d2e77 | |
parent | b0893476b0988fdb4eea84fa40be34ef8a549f4f (diff) | |
download | linhes_pkgbuild-fa1c09c45b64e180f8deb8c7d4858e1a2eb5fb01.zip linhes_pkgbuild-fa1c09c45b64e180f8deb8c7d4858e1a2eb5fb01.tar.gz linhes_pkgbuild-fa1c09c45b64e180f8deb8c7d4858e1a2eb5fb01.tar.bz2 |
runit-scripts: add mpd
The config file is stock, and will need to be changed for each persons setup
refs #931
-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 |