Alexander Pyhalov
2016-09-29 b92fa067bb59d876aa5c974e326c1892acb2d1cd
7433 stop method of mariadb (mysql, percona) sends a signal to all matched processes
12 files modified
72 ■■■■ changed files
components/database/mariadb-55/Makefile 1 ●●●● patch | view | raw | blame | history
components/database/mariadb-55/files/mariadb_55 13 ●●●●● patch | view | raw | blame | history
components/database/mariadb-55/files/mariadb_55.xml 4 ●●●● patch | view | raw | blame | history
components/database/percona-server-55/Makefile 1 ●●●● patch | view | raw | blame | history
components/database/percona-server-55/files/percona-server_55 13 ●●●●● patch | view | raw | blame | history
components/database/percona-server-55/files/percona-server_55.xml 4 ●●●● patch | view | raw | blame | history
components/database/percona-server-56/Makefile 1 ●●●● patch | view | raw | blame | history
components/database/percona-server-56/files/percona-server_56 13 ●●●●● patch | view | raw | blame | history
components/database/percona-server-56/files/percona-server_56.xml 4 ●●●● patch | view | raw | blame | history
components/database/percona-server-57/Makefile 1 ●●●● patch | view | raw | blame | history
components/database/percona-server-57/files/percona-server_57 13 ●●●●● patch | view | raw | blame | history
components/database/percona-server-57/files/percona-server_57.xml 4 ●●●● patch | view | raw | blame | history
components/database/mariadb-55/Makefile
@@ -19,6 +19,7 @@
COMPONENT_NAME=        mariadb
COMPONENT_VERSION=    5.5.51
IPS_COMPONENT_VERSION=    5.5.51
COMPONENT_REVISION=    1
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_PROJECT_URL=    http://www.mariadb.org/
components/database/mariadb-55/files/mariadb_55
@@ -84,24 +84,13 @@
}
    
mysql_stop()    {
    if [ -f ${PIDFILE} ]; then
    pkill mysqld
    fi
}
case "$1" in
'start')
    mysql_start 
    ;;
'stop')
    mysql_stop
    ;;
*)
    echo "Usage: $0 {start|stop}"
    echo "Usage: $0 start"
    exit 1
    ;;
components/database/mariadb-55/files/mariadb_55.xml
@@ -68,8 +68,8 @@
        <exec_method
                type='method'
                name='stop'
                exec='/lib/svc/method/mariadb_55 stop'
                timeout_seconds='60' />
                exec=':kill'
                timeout_seconds='300' />
components/database/percona-server-55/Makefile
@@ -19,6 +19,7 @@
COMPONENT_NAME=        percona-server
COMPONENT_VERSION=    5.5.51-38.1
IPS_COMPONENT_VERSION=    5.5.51.38.1
COMPONENT_REVISION=    1
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_PROJECT_URL=    http://www.percona.com/
components/database/percona-server-55/files/percona-server_55
@@ -84,24 +84,13 @@
}
    
mysql_stop()    {
    if [ -f ${PIDFILE} ]; then
    pkill mysqld
    fi
}
case "$1" in
'start')
    mysql_start 
    ;;
'stop')
    mysql_stop
    ;;
*)
    echo "Usage: $0 {start|stop}"
    echo "Usage: $0 start"
    exit 1
    ;;
components/database/percona-server-55/files/percona-server_55.xml
@@ -68,8 +68,8 @@
        <exec_method
                type='method'
                name='stop'
                exec='/lib/svc/method/percona-server_55 stop'
                timeout_seconds='60' />
                exec=':kill'
                timeout_seconds='300' />
components/database/percona-server-56/Makefile
@@ -18,6 +18,7 @@
COMPONENT_NAME=        percona-server
COMPONENT_VERSION=    5.6.32-78.0
COMPONENT_REVISION=    1
IPS_COMPONENT_VERSION=    5.6.32.78.0
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
components/database/percona-server-56/files/percona-server_56
@@ -84,24 +84,13 @@
}
    
mysql_stop()    {
    if [ -f ${PIDFILE} ]; then
    pkill mysqld
    fi
}
case "$1" in
'start')
    mysql_start 
    ;;
'stop')
    mysql_stop
    ;;
*)
    echo "Usage: $0 {start|stop}"
    echo "Usage: $0 start"
    exit 1
    ;;
components/database/percona-server-56/files/percona-server_56.xml
@@ -68,8 +68,8 @@
        <exec_method
                type='method'
                name='stop'
                exec='/lib/svc/method/percona-server_56 stop'
                timeout_seconds='60' />
                exec=':kill'
                timeout_seconds='300' />
components/database/percona-server-57/Makefile
@@ -16,6 +16,7 @@
COMPONENT_NAME=        percona-server
COMPONENT_VERSION=    5.7.14-7
COMPONENT_REVISION=    1
IPS_COMPONENT_VERSION=    5.7.14.7
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
components/database/percona-server-57/files/percona-server_57
@@ -84,24 +84,13 @@
}
    
mysql_stop()    {
    if [ -f ${PIDFILE} ]; then
    pkill mysqld
    fi
}
case "$1" in
'start')
    mysql_start 
    ;;
'stop')
    mysql_stop
    ;;
*)
    echo "Usage: $0 {start|stop}"
    echo "Usage: $0 start"
    exit 1
    ;;
components/database/percona-server-57/files/percona-server_57.xml
@@ -68,8 +68,8 @@
        <exec_method
                type='method'
                name='stop'
                exec='/lib/svc/method/percona-server_57 stop'
                timeout_seconds='60' />
                exec=':kill'
                timeout_seconds='300' />