Get the most out of your Centmin Mod LEMP stack
Become a Member

Stable Branch fix menu 22 WordPress service calls on EL9 minimal installs in 132.00…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 24, 2026 at 1:14 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,106
    12,587
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,244
    Local Time:
    5:02 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix menu 22 WordPress service calls on EL9 minimal installs in 132.00stable

    The menu 22 WordPress setup and its generated scripts called service, which
    EL9 minimal images do not ship (initscripts-service), so the wp_updater
    cron job's php-fpm reload and the wp_uninstall nginx restart could fail.
    Based on centminmod/centminmod PR 173.

    Changes:
    - wp_updater and wp_uninstall scripts run /etc/init.d/<service> when it
    exists, as service did, and systemctl otherwise
    - fix the wp_uninstall #/bin/bash shebang typo
    - Redis setup uses systemctl enable/restart under systemd, as minimal
    installs may lack chkconfig; keep chkconfig/service without systemd
    - reload nginx with cmservice when disabling wp-login password protection
    - apply the same fixes to tools/nvwp.sh
    - fixwp_updater patches existing /root/tools wp_updater and wp_uninstall
    scripts on the next centmin.sh run
    - install initscripts-service on EL9 when the service command is missing,
    so the nginx/php-fpm command shortcuts keep working

    Continue reading...

    132.00stable branch