Welcome to Centmin Mod Community
Become a Member

Beta Branch Is custom_config called after loading centmin.sh?

Discussion in 'Beta release code' started by BamaStangGuy, Aug 15, 2019.

  1. BamaStangGuy

    BamaStangGuy Active Member

    602
    177
    43
    May 25, 2014
    Ratings:
    +241
    Local Time:
    9:34 PM
    If I make a change to custom_config.inc do I need to exit the menu and reload? For example, if I change something for nginx and need to recompile nginx.
     
  2. steph40

    steph40 Premium Member Premium Member

    58
    13
    8
    Jan 28, 2019
    Ratings:
    +25
    Local Time:
    10:34 PM
    1.1.5
    mariadb 10
    Yes you do, changes are only loaded when you load centmin.sh, not after.
     
    • Agree Agree x 1
  3. eva2000

    eva2000 Administrator Staff Member

    41,720
    9,390
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,424
    Local Time:
    12:34 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Yup as @steph40 stated, /etc/centminmod/custom_config.inc is only loaded and read once from when you load centmin.sh. So changes to custom_config.inc persistent config file need exiting centmin.sh and re-running centmin.sh
     
  4. Dnyan

    Dnyan Member

    65
    9
    8
    Sep 16, 2017
    Ratings:
    +11
    Local Time:
    8:04 AM
    1.17.2
    10.1.41
    So it do not requires to recompile nginx after making changes to custom_config.inc?

    I was doing recompile by running centmin option 4 after doing changes to that file.
     
  5. eva2000

    eva2000 Administrator Staff Member

    41,720
    9,390
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,424
    Local Time:
    12:34 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    dependson what variables you add to custom_config.inc, if they're related to Nginx features, then centmin.sh menu option 4 recompile is required.