icecast.conf.patch 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. diff -Naur icecast-2.3.2.orig/conf/icecast.xml.in icecast-2.3.2/conf/icecast.xml.in
  2. --- icecast-2.3.2.orig/conf/icecast.xml.in 2008-04-04 18:14:10.000000000 +0300
  3. +++ icecast-2.3.2/conf/icecast.xml.in 2008-09-28 01:01:51.000000000 +0300
  4. @@ -7,8 +7,8 @@
  5. <client-timeout>30</client-timeout>
  6. <header-timeout>15</header-timeout>
  7. <source-timeout>10</source-timeout>
  8. - <!-- If enabled, this will provide a burst of data when a client
  9. - first connects, thereby significantly reducing the startup
  10. + <!-- If enabled, this will provide a burst of data when a client
  11. + first connects, thereby significantly reducing the startup
  12. time for listeners that do substantial buffering. However,
  13. it also significantly increases latency between the source
  14. client and listening client. For low-latency setups, you
  15. @@ -102,7 +102,7 @@
  16. <hidden>1</hidden>
  17. <no-yp>1</no-yp>
  18. <authentication type="htpasswd">
  19. - <option name="filename" value="myauth"/>
  20. + <option name="filename" value="/usr/share/icecast/myauth"/>
  21. <option name="allow_duplicate_users" value="0"/>
  22. </authentication>
  23. <on-connect>/home/icecast/bin/stream-start</on-connect>
  24. @@ -129,10 +129,10 @@
  25. <!-- Note that if <chroot> is turned on below, these paths must both
  26. be relative to the new root, not the original root -->
  27. - <logdir>@localstatedir@/log/@PACKAGE@</logdir>
  28. + <logdir>/var/log/icecast</logdir>
  29. <webroot>@pkgdatadir@/web</webroot>
  30. <adminroot>@pkgdatadir@/admin</adminroot>
  31. - <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
  32. + <pidfile>/run/icecast/icecast.pid</pidfile>
  33. <!-- Aliases: treat requests for 'source' path as being for 'dest' path
  34. May be made specific to a port or bound address using the "port"
  35. @@ -164,11 +164,10 @@
  36. <security>
  37. <chroot>0</chroot>
  38. - <!--
  39. + <!--test for logrotate soon-->
  40. <changeowner>
  41. - <user>nobody</user>
  42. - <group>nogroup</group>
  43. + <user>icecast</user>
  44. + <group>icecast</group>
  45. </changeowner>
  46. - -->
  47. </security>
  48. </icecast>