Fix white-space issues and macro expanding in mysql.init.in
This commit is contained in:
parent
741611f3ab
commit
565d028215
@ -26,7 +26,7 @@
|
|||||||
exec="@bindir@/mysqld_safe"
|
exec="@bindir@/mysqld_safe"
|
||||||
prog="@DAEMON_NAME@"
|
prog="@DAEMON_NAME@"
|
||||||
|
|
||||||
# Set timeouts here so they can be overridden from /etc/sysconfig/@DAEMON_NAME@
|
# Set timeouts here so they can be overridden from @sysconfdir@/sysconfig/@DAEMON_NO_PREFIX@
|
||||||
STARTTIMEOUT=300
|
STARTTIMEOUT=300
|
||||||
STOPTIMEOUT=60
|
STOPTIMEOUT=60
|
||||||
|
|
||||||
@ -87,8 +87,8 @@ start(){
|
|||||||
safe_pid=$!
|
safe_pid=$!
|
||||||
|
|
||||||
# Wait until the daemon is up
|
# Wait until the daemon is up
|
||||||
su - $MYUSER -s /bin/bash -c "@libexecdir@/mysql-wait-ready '$safe_pid'"
|
su - $MYUSER -s /bin/bash -c "@libexecdir@/mysql-wait-ready '$safe_pid'"
|
||||||
ret=$?
|
ret=$?
|
||||||
|
|
||||||
if [ $ret -eq 0 ]; then
|
if [ $ret -eq 0 ]; then
|
||||||
action $"Starting $prog: " /bin/true
|
action $"Starting $prog: " /bin/true
|
||||||
|
Loading…
Reference in New Issue
Block a user