aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-10 20:13:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-10 20:13:21 +0000
commit9d6a914564bea24b1b19a31274c0f5053e8aba45 (patch)
tree66d41adcaf6d8fb45657d85fa6ffec3cf967d996 /testing/mpd
parent8a10d5ea136c6297ca53bf56596e00011e8df89c (diff)
downloadaports-9d6a914564bea24b1b19a31274c0f5053e8aba45.tar.bz2
aports-9d6a914564bea24b1b19a31274c0f5053e8aba45.tar.xz
testing/mpd: fix default config and init.d script
Diffstat (limited to 'testing/mpd')
-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 \