Join the community today
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

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    10:50 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 Member

    84
    17
    8
    Jan 28, 2019
    Ratings:
    +34
    Local Time:
    11:50 PM
    1.1.5
    mariadb 10
    Yes you do, changes are only loaded when you load centmin.sh, not after.
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    1:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    106
    24
    18
    Sep 16, 2017
    Ratings:
    +36
    Local Time:
    9:20 AM
    1.17.8
    10.3.22
    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

    53,211
    12,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,650
    Local Time:
    1:50 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.