aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2011-08-14 10:28:46 +0000
committerMika Havela <mika.havela@gmail.com>2011-08-15 15:54:44 +0000
commit3a3fa35fadd11ac3025c02db19ce6a3cac3ee92d (patch)
tree0b72435b478e2896d258c48885e02131daecef61 /main
parenta3d1d6ddb81f3010610080920c77b65ebd26d05d (diff)
downloadaports-3a3fa35fadd11ac3025c02db19ce6a3cac3ee92d.tar.bz2
aports-3a3fa35fadd11ac3025c02db19ce6a3cac3ee92d.tar.xz
main/mpd: mpd can't be stopped by using 'start-stop-daemon --stop'.
Using 'mpd --kill' is working better.
Diffstat (limited to 'main')
-rw-r--r--main/mpd/APKBUILD2
-rw-r--r--main/mpd/mpd.initd4
2 files changed, 2 insertions, 4 deletions
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD
index 08173c23c3..7965c486d2 100644
--- a/main/mpd/APKBUILD
+++ b/main/mpd/APKBUILD
@@ -51,5 +51,5 @@ package() {
"$pkgdir"/var/lib/mpd/music
}
md5sums="6e708c02b0e8c288aec855eecf441a5a mpd-0.16.3.tar.bz2
-31d1515232d688d610d1664a0fb2a6a0 mpd.initd
+2ccbb38edc6dff5b5740760837f3005a mpd.initd
dbd301041953a5cf9c2b9de8f23eb6bb mpd.confd"
diff --git a/main/mpd/mpd.initd b/main/mpd/mpd.initd
index 10601dc47d..f18708baba 100644
--- a/main/mpd/mpd.initd
+++ b/main/mpd/mpd.initd
@@ -36,9 +36,7 @@ start() {
stop() {
get_pidfile
ebegin "Stopping ${NAME}"
- start-stop-daemon --stop --quiet \
- --pidfile $pidfile \
- --exec ${DAEMON}
+ mpd --kill
eend $?
}