aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2011-08-14 09:13:54 +0000
committerMika Havela <mika.havela@gmail.com>2011-08-15 15:54:39 +0000
commita3d1d6ddb81f3010610080920c77b65ebd26d05d (patch)
treed7d11eebf54657063466a631f48d78c62712ca13
parenta0b13a25980e2b32b7200654a378c6674c881cc4 (diff)
downloadaports-a3d1d6ddb81f3010610080920c77b65ebd26d05d.tar.bz2
aports-a3d1d6ddb81f3010610080920c77b65ebd26d05d.tar.xz
main/mpd: Log to syslog.
mpd semes to have some issues writing to its own logfile. Logging to syslog gives some benefits when you have logrotate.
-rw-r--r--main/mpd/APKBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD
index 14b15d7a58..08173c23c3 100644
--- a/main/mpd/APKBUILD
+++ b/main/mpd/APKBUILD
@@ -39,7 +39,7 @@ package() {
install -d "$pkgdir"/etc
sed -e 's:\#pid_file.*:pid_file\t\t"/var/run/mpd/mpd.pid":' \
-e 's:\#user.*:user\t\t"mpd":' \
- -e 's:\#log_file.*:log_file\t\t"/var/log/mpd/mpd.log":' \
+ -e 's:\#log_file.*:log_file\t\t"syslog":' \
doc/mpdconf.example > "$pkgdir"/etc/mpd.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname