Join the community today
Become a Member

Beta Branch update dmotd.sh add PUSH_MOTD_ALERTS variable in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 9, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:57 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    update dmotd.sh add PUSH_MOTD_ALERTS variable in 130.00beta01

    - update SSH login dmotd.sh to add variable PUSH_MOTD_ALERTS to control whether pushover.net configured notifications are enabled or not. Defaults to PUSH_MOTD_ALERTS='n'
    - you can then optionally enable pushover.net push notification support for SSH login notifications via PUSH_MOTD_ALERTS='y' when Centmin Mod, Nginx and optional PHP-FPM version updates are available when you setup your pushover.net account user and app API token credentials in persistent config file /etc/centminmod/custom_config.ini or /etc/centminmod/pushover.ini (create if doesn't exist) and set the variables


    PUSH_MOTD_ALERTS='y'
    PUSH_USER_KEY="your_pushover_user_key_here"
    PUSH_API_TOKEN="your_pushover_app_token_here"

    You will then get push notifications to your pushover.net registered mobile/tablet device when there are Centmin Mod and Nginx updates when logging into SSH and if you set DMOTD_PHPCHECK='y' in persistent config file /etc/centminmod/custom_config.ini, you'd also get PHP-FPM version update notifications when SSH login. Later will also add support for these version checks to be done via cronjob schedule instead of only at SSH login

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod