Learn about Centmin Mod LEMP Stack today
Become a Member

Master Branch update tools/emailnotify.sh in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 30, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:46 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update tools/emailnotify.sh in 123.09beta01

    - Add optional 3rd argument on command line to override the default to email address. Example: send output of cminfo sar-json command to your-to-email@domain.com with email subject title = cminfo sar-json

    /usr/local/src/centminmod/tools/emailnotify.sh send "$(cminfo sar-json)" "cminfo sar-json" your-to-email@domain.com


    - For AWS SES send template, also add the server hostname to subject title so you can differentiate different servers' email notifications properly

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.