mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Reverted the changes to spec file, updated the logic to get the correct count of PID files
This commit is contained in:
@@ -718,7 +718,7 @@ fi
|
|||||||
|
|
||||||
# We assume that if there is exactly one ".pid" file,
|
# We assume that if there is exactly one ".pid" file,
|
||||||
# it contains the valid PID of a running MySQL server.
|
# it contains the valid PID of a running MySQL server.
|
||||||
NR_PID_FILES=`ls $PID_FILE_PATT 2>/dev/null | grep -v "mysqld_safe.pid" | wc -l`
|
NR_PID_FILES=`ls -1 $PID_FILE_PATT 2>/dev/null | wc -l`
|
||||||
case $NR_PID_FILES in
|
case $NR_PID_FILES in
|
||||||
0 ) SERVER_TO_START='' ;; # No "*.pid" file == no running server
|
0 ) SERVER_TO_START='' ;; # No "*.pid" file == no running server
|
||||||
1 ) SERVER_TO_START='true' ;;
|
1 ) SERVER_TO_START='true' ;;
|
||||||
@@ -1215,8 +1215,8 @@ echo "=====" >> $STATUS_HISTORY
|
|||||||
# merging BK trees)
|
# merging BK trees)
|
||||||
##############################################################################
|
##############################################################################
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 29 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
|
* Mon Sep 09 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
|
||||||
- Added logic to ignore mysqld_safe.pid file created by mysqld_safe script
|
- Updated logic to get the correct count of PID files
|
||||||
|
|
||||||
* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
|
* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
|
||||||
- Added provides lowercase mysql tags
|
- Added provides lowercase mysql tags
|
||||||
|
Reference in New Issue
Block a user