Discover Centmin Mod today
Register Now

Beta Branch update inc/shortcuts_install.inc for 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 11, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:25 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:25 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    existing CentOS 7 only users can update their mysql command shortcuts manually via these 4 commands
    Code (Text):
    echo "systemctl daemon-reload; service mysql stop" >/usr/bin/mysqlstop ; chmod 700 /usr/bin/mysqlstop
    echo "systemctl daemon-reload; service mysql start" >/usr/bin/mysqlstart ; chmod 700 /usr/bin/mysqlstart
    echo "systemctl daemon-reload; service mysql restart" >/usr/bin/mysqlrestart ; chmod 700 /usr/bin/mysqlrestart
    echo "systemctl daemon-reload; service mysql reload" >/usr/bin/mysqlreload ; chmod 700 /usr/bin/mysqlreload
    
     
  3. pamamolf

    pamamolf Well-Known Member

    4,125
    429
    83
    May 31, 2014
    Ratings:
    +841
    Local Time:
    4:25 AM
    Nginx-1.29.x
    MariaDB 10.6.x
    It seems that the shortcuts help with the :

    Code:
    systemctl daemon-reload
    mysqlrestart
    after upgrading MariaDB......

    I had to run both commands always on Centos 7 but not anymore :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:25 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    yup thought i'd fix that for good on CentOS 7 :)