Get the most out of your Centmin Mod LEMP stack
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

    575
    171
    43
    May 25, 2014
    Ratings:
    +232
    Local Time:
    10:40 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 Premium Member Premium Member

    57
    11
    8
    Jan 28, 2019
    Ratings:
    +23
    Local Time:
    11:40 AM
    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,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    1:40 AM
    Nginx 1.15.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

    55
    9
    8
    Sep 16, 2017
    Ratings:
    +11
    Local Time:
    9:10 PM
    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,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    1:40 AM
    Nginx 1.15.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.