23 |
+MADSONIC_DEFAULT_TIMEZONE=EDT |
+MADSONIC_DEFAULT_TIMEZONE=EDT |
24 |
+MADSONIC_GZIP=true |
+MADSONIC_GZIP=true |
25 |
+MADSONIC_TEST=false |
+MADSONIC_TEST=false |
|
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=true |
|
|
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 true" |
|
|
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. |
|