Discover Centmin Mod today
Register Now

Stable Branch fix nginx, PHP and Centmin Mod update alerts repeating and Pushover k…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 22, 2026 at 2:44 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,588
    12,631
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,298
    Local Time:
    10:44 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix nginx, PHP and Centmin Mod update alerts repeating and Pushover keys on the command line in 132.00stable

    dmotd pushed the same nginx, PHP-FPM and Centmin Mod "update available"
    Pushover alert on every root SSH login and check-for-updates.sh on every
    cron run, and both passed the Pushover token and user key on the curl
    command line, where any local user can read them with ps. Ported from
    141.00beta01 without its autoupdate parts.

    Changes:
    - config/motd/dmotd.sh, tools/check-for-updates.sh: push each nginx/PHP version and each new Centmin Mod upstream commit (or the local commit when the branch has no upstream) once, using shared markers in /var/cache/centminmod/dmotd-push written only after Pushover accepts the alert; older nginx/PHP markers are pruned after 180 days, Centmin Mod keeps only the latest
    - tools/check-for-updates.sh: the reboot needed alert marker moves into the same block
    - both scripts pass the Pushover token and user key through a curl config file in a 0700 mktemp directory instead of the command line


    Continue reading...

    132.00stable branch