Skip to content

Commit dd861f7

Browse files
author
Shishir Jaiswal
committed
Merge branch 'mysql-5.5' into mysql-5.6
2 parents 8d0f1fc + df6e016 commit dd861f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packaging/rpm-oel/mysql.init

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ prog="mysqld"
2323
STARTTIMEOUT=120
2424
STOPTIMEOUT=60
2525

26+
# Set in /etc/sysconfig/mysqld, will be passed to mysqld_safe
27+
MYSQLD_OPTS=
28+
2629
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
2730

2831
lockfile=/var/lock/subsys/$prog
@@ -110,7 +113,7 @@ start(){
110113
# and some users might prefer to configure logging to syslog.)
111114
# Note: set --basedir to prevent probes that might trigger SELinux
112115
# alarms, per bug #547485
113-
$exec --datadir="$datadir" --socket="$socketfile" \
116+
$exec $MYSQLD_OPTS --datadir="$datadir" --socket="$socketfile" \
114117
--pid-file="$mypidfile" \
115118
--basedir=/usr --user=mysql >/dev/null &
116119
safe_pid=$!

0 commit comments

Comments
 (0)