Join the community today
Become a Member

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

    30,178
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    5:09 AM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    5:09 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
    
     
    • Informative Informative x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    10:09 PM
    Nginx-1.13.x
    MariaDB 10.1.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 :)
     
    • Agree Agree x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,178
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    5:09 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup thought i'd fix that for good on CentOS 7 :)
     
    • Winner Winner x 1