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

Diff of /rpms/madsonic/contribs10/madsonic-6.2.9084-sysconfig.patch

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

Revision 1.1 by jpp, Sat Jul 23 20:48:07 2022 UTC Revision 1.2 by jpp, Sat Jul 23 20:50:25 2022 UTC
# Line 23  diff -Nur --no-dereference madsonic-6.2. Line 23  diff -Nur --no-dereference madsonic-6.2.
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.  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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