Commit 9dd89e3 1 parent 6dd0edd commit 9dd89e3 Copy full SHA for 9dd89e3
File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 191
191
192
192
<paths >
193
193
<!-- basedir is only used if chroot is enabled -->
194
- <basedir >/usr/local /icecast/share/icecast</basedir >
194
+ <basedir >/var/packages /icecast/target /share/icecast</basedir >
195
195
196
196
<!-- Note that if <chroot> is turned on below, these paths must both
197
197
be relative to the new root, not the original root -->
198
- <logdir >/usr/local /icecast/var/log</logdir >
199
- <webroot >/usr/local /icecast/share/icecast/web</webroot >
200
- <adminroot >/usr/local /icecast/share/icecast/admin</adminroot >
201
- <pidfile >/usr/local /icecast/var/icecast.pid</pidfile >
198
+ <logdir >/var/packages /icecast/var/log</logdir >
199
+ <webroot >/var/packages /icecast/target /share/icecast/web</webroot >
200
+ <adminroot >/var/packages /icecast/target /share/icecast/admin</adminroot >
201
+ <pidfile >/var/packages /icecast/var/icecast.pid</pidfile >
202
202
203
203
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
204
204
May be made specific to a port or bound address using the "port"
214
214
<alias source =" /" destination =" /status.xsl" />
215
215
<!-- The certificate file needs to contain both public and private part.
216
216
Both should be PEM encoded.
217
- <ssl-certificate>/usr/local/share/ icecast/icecast.pem</ssl-certificate>
217
+ <ssl-certificate>/var/packages/ icecast/var /icecast.pem</ssl-certificate>
218
218
-->
219
219
</paths >
220
220
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ service_postinst ()
10
10
# Edit the configuration according to the wizard
11
11
sed -i -e " s/@username@/${wizard_ic_username:= admin} /g" ${CFG_FILE}
12
12
sed -i -e " s/@password@/${wizard_ic_password:= changepassword} /g" ${CFG_FILE}
13
+ if [ $SYNOPKG_DSM_VERSION_MAJOR -lt 7 ]; then
14
+ sed -i -e " s|/var/packages/icecast/var|/var/packages/icecast/target/var|g" ${CFG_FILE}
15
+ fi
13
16
}
14
17
15
18
You can’t perform that action at this time.
0 commit comments