/[smecontribs]/rpms/madsonic/contribs10/madsonic-6.2.9084-test.patch
ViewVC logotype

Contents of /rpms/madsonic/contribs10/madsonic-6.2.9084-test.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Jul 23 07:06:27 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-1.sme
- update with log4j fixes and more
- systemd capable
- enable mediasonic.test by default

1 diff -Nur --no-dereference madsonic-6.2.9092.old/root/usr/share/madsonic/madsonic.sh madsonic-6.2.9092/root/usr/share/madsonic/madsonic.sh
2 --- madsonic-6.2.9092.old/root/usr/share/madsonic/madsonic.sh 2022-01-26 10:57:08.000000000 -0500
3 +++ madsonic-6.2.9092/root/usr/share/madsonic/madsonic.sh 2022-07-23 03:00:12.309000000 -0400
4 @@ -24,6 +24,7 @@
5 MADSONIC_PIDFILE=
6 MADSONIC_UPDATE=true
7 MADSONIC_GZIP=
8 +MADSONIC_TEST=true
9 MADSONIC_DB=
10 quiet=0
11
12 @@ -68,6 +69,7 @@
13 echo " --update=VALUE Configure Madsonic to look in folder /update for updates. Default 'true'"
14 echo " --gzip=VALUE Configure Madsonic to use Gzip compression. Default 'true'"
15 echo " --quiet Don't print anything to standard out. Default false."
16 + echo " --test=VALUE Refer to local server for registering. Default true"
17 exit 1
18 }
19
20 @@ -134,6 +136,9 @@
21 --db=?*)
22 MADSONIC_DB=${1#--db=}
23 ;;
24 + --test=?*)
25 + MADSONIC_TEST="true"
26 + ;;
27 --quiet)
28 quiet=1
29 ;;
30 @@ -179,6 +184,7 @@
31 -Dmadsonic.gzip=${MADSONIC_GZIP} \
32 -Dmadsonic.db="${MADSONIC_DB}" \
33 -Djava.awt.headless=true \
34 + -Dmadsonic.test="${MADSONIC_TEST}"\
35 -jar madsonic-booter.jar > ${LOG} 2>&1 &
36
37 # Write pid to pidfile if it is defined.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed