openbsd-ports/audio/mt-daapd/patches/patch-contrib_mt-daapd_conf

31 lines
651 B
Plaintext

$OpenBSD: patch-contrib_mt-daapd_conf,v 1.3 2009/08/07 19:25:29 martynas Exp $
--- contrib/mt-daapd.conf.orig Sat Apr 19 22:17:11 2008
+++ contrib/mt-daapd.conf Tue Aug 4 20:46:21 2009
@@ -23,7 +23,7 @@
# path is probably /usr/local/share/mt-daapd/admin-root.
#
-web_root /usr/share/mt-daapd/admin-root
+web_root ${LOCALBASE}/share/mt-daapd/admin-root
#
# port (required)
@@ -83,7 +83,7 @@ servername mt-daapd
# as root or not.
#
-runas nobody
+runas _mt-daapd
#
# playlist (optional)
@@ -98,7 +98,7 @@ runas nobody
# below.
#
-playlist /etc/mt-daapd.playlist
+playlist ${SYSCONFDIR}/mt-daapd.playlist
#
# password (optional)