updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / icecast-svn / icecast.xml.chroot.patch
blob0a3cc56e11cf94305e5982c6140ee85ea923bced
1 --- icecast.xml.bu 2009-09-17 12:49:54.000000000 +0200
2 +++ icecast.xml 2009-09-17 12:44:06.000000000 +0200
3 @@ -125,13 +125,13 @@
5 <paths>
6 <!-- basedir is only used if chroot is enabled -->
7 - <basedir>/usr/share/icecast</basedir>
8 + <basedir>/var/icecast</basedir>
10 <!-- Note that if <chroot> is turned on below, these paths must both
11 be relative to the new root, not the original root -->
12 - <logdir>/var/log/icecast</logdir>
13 - <webroot>/usr/share/icecast/web</webroot>
14 - <adminroot>/usr/share/icecast/admin</adminroot>
15 + <logdir>/log</logdir>
16 + <webroot>/web</webroot>
17 + <adminroot>/admin</adminroot>
18 <!-- <pidfile>/usr/share/icecast/icecast.pid</pidfile> -->
20 <!-- Aliases: treat requests for 'source' path as being for 'dest' path
21 @@ -163,12 +163,10 @@
22 </logging>
24 <security>
25 - <chroot>0</chroot>
26 - <!--
27 + <chroot>1</chroot>
28 <changeowner>
29 - <user>nobody</user>
30 - <group>nogroup</group>
31 + <user>icecast</user>
32 + <group>icecast</group>
33 </changeowner>
34 - -->
35 </security>
36 </icecast>