Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch update MOTD routines in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 26, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    43,474
    9,870
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,239
    Local Time:
    1:54 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update MOTD routines in 123.09beta01

    - On first SSH login a MOTD banner is shown with Centmin Mod info and checks for latest nginx version and whether centmin mod code updates are available. Part of these checks is logging to a file named cmm-login-git-checks* in /root/centminlogs of this login routine with recorded time duration of how long the checks took. This is for troubleshooting if needed.
    - However, this SSH login routine is triggered for both interactive and non-interactive logins. So when you SSH login = interactive. But when you have scripts remotely connecting to your server, they're non-interactive but the MOTD banner and /root/centminlogs/cmm-login-git-checks* generated logs are still triggered.
    - This update changes it so that only interactive SSH logins trigger MOTD banner and /root/centminlogs/cmm-login-git-checks* generated logs. If you have scripts or processes which remotely log into the Centmin Mod server via SSH and they are non-interactive, then MOTD banner and /root/centminlogs/cmm-login-git-checks* generated logs are now skipped.
    - To update existing Centmin Mod 123.09beta01 servers, run cmupdate command and then run centmin.sh menu once and exit.

    Continue reading...

    123.09beta01 branch
     
    • Like Like x 1