icecast/icecast.conf.patch

38 lines
1.4 KiB
Diff

--- conf/icecast.xml.in
+++ conf/icecast.xml.in 2005-05-21 02:24:39.211077978 +0200
@@ -94,7 +94,7 @@
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
- <option name="filename" value="myauth"/>
+ <option name="filename" value="/usr/share/icecast/myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
@@ -114,10 +114,10 @@
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
- <logdir>@localstatedir@/log/@PACKAGE@</logdir>
+ <logdir>/var/log/icecast</logdir>
<webroot>@pkgdatadir@/web</webroot>
<adminroot>@pkgdatadir@/admin</adminroot>
- <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
+ <pidfile>/var/run/icecast/icecast.pid</pidfile>
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
@@ -142,10 +142,10 @@
<security>
<chroot>0</chroot>
- <!--
+ <!-- Changing user will break logrotate support ( cannot create pid file )
<changeowner>
- <user>nobody</user>
- <group>nogroup</group>
+ <user>icecast</user>
+ <group>icecast</group>
</changeowner>
-->
</security>