Join the community today
Become a Member

Beta Branch update tools/emailnotify.sh in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    45,681
    10,372
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,095
    Local Time:
    2:29 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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...

    123.09beta01 branch