Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
543b6e02
Commit
543b6e02
authored
Sep 09, 2013
by
Balasubramanian Kandasamy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted the changes to spec file, updated the logic to get the correct count of PID files
parent
06bcc2a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+3
-3
No files found.
support-files/mysql.spec.sh
View file @
543b6e02
...
...
@@ -718,7 +718,7 @@ fi
# We assume that if there is exactly one ".pid" file,
# 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
0
)
SERVER_TO_START
=
''
;;
# No "*.pid" file == no running server
1
)
SERVER_TO_START
=
'true'
;;
...
...
@@ -1215,8 +1215,8 @@ echo "=====" >> $STATUS_HISTORY
# merging BK trees)
##############################################################################
%changelog
*
Thu Aug 2
9 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
-
Added logic to ignore mysqld_safe.pid file created by mysqld_safe script
*
Mon Sep 0
9 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
-
Updated logic to get the correct count of PID files
*
Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Added provides lowercase mysql tags
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment