Want more timely Centmin Mod News Updates?
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

    51,209
    11,897
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,371
    Local Time:
    7:45 PM
    Nginx 1.25.x
    MariaDB 10.x
    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