Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch Is custom_config called after loading centmin.sh?

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

  1. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    650
    188
    43
    May 25, 2014
    Ratings:
    +263
    Local Time:
    6:53 AM
    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

    74
    15
    8
    Jan 28, 2019
    Ratings:
    +31
    Local Time:
    7:53 AM
    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

    44,718
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,797
    Local Time:
    9:53 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

    95
    19
    8
    Sep 16, 2017
    Ratings:
    +26
    Local Time:
    5:23 PM
    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

    44,718
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,797
    Local Time:
    9:53 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.