mpd: bump to version 0.18.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias
2014-01-13 19:17:18 -03:00
committed by Peter Korsgaard
parent 2194440bfd
commit 1753c3bf2a
3 changed files with 38 additions and 7 deletions

View File

@@ -1,15 +1,19 @@
#!/bin/sh
# Sanity checks
test -f /usr/bin/mpd || exit 0
test -f /etc/mpd.conf || exit 0
start() {
echo -n "Starting mpd: "
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd
echo "OK"
start-stop-daemon --start --quiet --background --exec /usr/bin/mpd \
&& echo "OK" || echo "FAIL"
}
stop() {
echo -n "Stopping mpd: "
start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid
echo "OK"
start-stop-daemon --stop --quiet --pidfile /var/run/mpd.pid \
&& echo "OK" || echo "FAIL"
}
case "$1" in