Discover Centmin Mod today
Register Now

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

    53,865
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    5:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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