Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 6875b9d5d093140e220239f3de12a630 > files > 3

icecast-2.4.2-1.mga5.src.rpm

diff -up icecast-2.4.2/conf/icecast.xml.in.orig icecast-2.4.2/conf/icecast.xml.in
--- icecast-2.4.2/conf/icecast.xml.in.orig	2015-04-08 10:06:13.000000000 +0200
+++ icecast-2.4.2/conf/icecast.xml.in	2015-04-08 15:45:37.352300598 +0200
@@ -161,7 +161,7 @@
         <hidden>1</hidden>
         <public>1</public>
         <authentication type="htpasswd">
-                <option name="filename" value="myauth"/>
+                <option name="filename" value="/usr/share/icecast/myauth"/>
                 <option name="allow_duplicate_users" value="0"/>
         </authentication>
         <http-headers>
@@ -195,10 +195,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"
@@ -234,10 +234,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>