aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpd/mpd.initd
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/mpd/mpd.initd
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/mpd/mpd.initd')
-rw-r--r--main/mpd/mpd.initd4
1 files changed, 1 insertions, 3 deletions
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 $?
}