Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information