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

Stable Branch fix cmservice() non-EL6 catch-all so pure-ftpd/memcached/nsd/csf/lfd …

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 31, 2026 at 2:24 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:16 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix cmservice() non-EL6 catch-all so pure-ftpd/memcached/nsd/csf/lfd stop+restart work in 132.00stable


    cmservice() only handled php-fpm/nginx/mysql on non-EL6 systems and had no
    catch-all branch, so cmservice pure-ftpd stop (and memcached/nsd/csf/lfd/
    haveged) was a silent no-op on EL7/8/9. With PUREFTPD_DISABLED=y the
    centminfinish.inc disable block ran cmchkconfig pure-ftpd off (worked, service
    disabled) but cmservice pure-ftpd stop never stopped it, leaving pure-ftpd
    disabled-but-running.

    Changes:
    - centmin.sh: add catch-all else to cmservice() mirroring cmchkconfig(), routing
    any other service through systemctl $action ${servicename}.service

    Continue reading...

    132.00stable branch