initial commit of file from CVS for madsonic on Thu Oct 9 11:51:52 AEDT 2025
This commit is contained in:
37
madsonic-6.2.9084-test.patch
Normal file
37
madsonic-6.2.9084-test.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
--- madsonic-6.2.9092.old/root/usr/share/madsonic/madsonic.sh 2022-01-26 10:57:08.000000000 -0500
|
||||
+++ madsonic-6.2.9092/root/usr/share/madsonic/madsonic.sh 2022-07-23 03:00:12.309000000 -0400
|
||||
@@ -24,6 +24,7 @@
|
||||
MADSONIC_PIDFILE=
|
||||
MADSONIC_UPDATE=true
|
||||
MADSONIC_GZIP=
|
||||
+MADSONIC_TEST=false
|
||||
MADSONIC_DB=
|
||||
quiet=0
|
||||
|
||||
@@ -68,6 +69,7 @@
|
||||
echo " --update=VALUE Configure Madsonic to look in folder /update for updates. Default 'true'"
|
||||
echo " --gzip=VALUE Configure Madsonic to use Gzip compression. Default 'true'"
|
||||
echo " --quiet Don't print anything to standard out. Default false."
|
||||
+ echo " --test=VALUE Refer to local server for registering. Default false"
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -134,6 +136,9 @@
|
||||
--db=?*)
|
||||
MADSONIC_DB=${1#--db=}
|
||||
;;
|
||||
+ --test=?*)
|
||||
+ MADSONIC_TEST="true"
|
||||
+ ;;
|
||||
--quiet)
|
||||
quiet=1
|
||||
;;
|
||||
@@ -179,6 +184,7 @@
|
||||
-Dmadsonic.gzip=${MADSONIC_GZIP} \
|
||||
-Dmadsonic.db="${MADSONIC_DB}" \
|
||||
-Djava.awt.headless=true \
|
||||
+ -Dmadsonic.test="${MADSONIC_TEST}"\
|
||||
-jar madsonic-booter.jar > ${LOG} 2>&1 &
|
||||
|
||||
# Write pid to pidfile if it is defined.
|
Reference in New Issue
Block a user