Welcome to Centmin Mod Community
Register Now

Beta Branch Add variables to skip specific updates/checks on centmin.sh runs in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 20, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    44,417
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,692
    Local Time:
    10:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Add variables to skip specific updates/checks on centmin.sh runs in 123.09beta01

    Add variables to manually disable initial_pip_updates, pip_updates, fixphpfpm_httpproxy, fixwp_updater, csf_maxmind_rego routine checks on centmin.sh runs via setting variables in persistent config file /etc/centminmod/custom_config.inc before running centmin.sh. This can speed up existing Centmin Mod 123.09beta01 and newer installs's specific centmin.sh runs on already up to date Centmin Mod 123.09beta01 installs as these routine checks and fixes have already been applied and don't need checking at all. The measured speed up can be up to 77% faster. Preparation work for centmin.sh menu run features which require more speed in initial triggering of centmin.sh menu.

    However, these routines would need to be enabled (not skipped) at least one time after initially moving from Centmin Mod 123.08stable to 123.09beta01 or higher as the routines update the local Centmin Mod code/server configurations with fixes and changes made since 123.08stable. You can disable them after the one time centmin.sh run after initially moving from Centmin Mod 123.08stable to 123.09beta01 or higher.

    To skip, set in persistent config file /etc/centminmod/custom_config.inc

    Code (Text):
    SKIP_INITIAL_PIP_UPDATES='y'
    SKIP_PIP_UPDATES='y'
    SKIP_FIXPHPFPM_HTTPPROXY='y'
    SKIP_FIXWP_UPDATER='y'
    SKIP_CSF_MAXMIND_REGO='y'


    to revert and remove you need to totally remove the variables from persistent config file /etc/centminmod/custom_config.inc or set them to no via = 'n'

    Code (Text):
    SKIP_INITIAL_PIP_UPDATES='n'
    SKIP_PIP_UPDATES='n'
    SKIP_FIXPHPFPM_HTTPPROXY='n'
    SKIP_FIXWP_UPDATER='n'
    SKIP_CSF_MAXMIND_REGO='n'


    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,417
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,692
    Local Time:
    10:51 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x