aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mpd/APKBUILD6
-rw-r--r--testing/mpd/mpd.initd4
2 files changed, 5 insertions, 5 deletions
diff --git a/testing/mpd/APKBUILD b/testing/mpd/APKBUILD
index 92e8c6db7d..c52e1c2deb 100644
--- a/testing/mpd/APKBUILD
+++ b/testing/mpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <natanael.copa@gmail.com>
pkgname=mpd
pkgver=0.15.2
-pkgrel=0
+pkgrel=1
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
url="http://musicpd.org"
pkgusers="mpd"
@@ -32,7 +32,7 @@ build() {
install -d "$pkgdir"/etc
sed -e 's:\#pid_file.*:pid_file\t\t/var/run/mpd/mpd.pid:' \
-e 's:\#user.*:user\t\tmpd:' \
- -e 's:\#log_file.*:log_file\t\t/var/log/mpd:' \
+ -e 's:\#log_file.*:log_file\t\t/var/log/mpd/mpd.log:' \
doc/mpdconf.example > "$pkgdir"/etc/mpd.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
@@ -44,5 +44,5 @@ build() {
"$pkgdir"/var/lib/mpd/music
}
md5sums="869779fdf592ac45d067c7dec228cb51 mpd-0.15.2.tar.bz2
-942017fbdc8bbaf5109e972a0a51b2c1 mpd.initd
+338857abd41efd08b2d2b5399a07a87f mpd.initd
dbd301041953a5cf9c2b9de8f23eb6bb mpd.confd"
diff --git a/testing/mpd/mpd.initd b/testing/mpd/mpd.initd
index 7601ed4f27..e840357601 100644
--- a/testing/mpd/mpd.initd
+++ b/testing/mpd/mpd.initd
@@ -3,7 +3,7 @@
# init.d file for music player daemon
NAME=mpd
-DAEMON=/usr/sbin/$NAME
+DAEMON=/usr/bin/$NAME
CONF=/etc/mpd.conf
depend() {
@@ -23,7 +23,7 @@ get_pidfile() {
}
start() {
- checkconf || return 1
+ checkconfig || return 1
get_pidfile
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet \