summaryrefslogtreecommitdiffstats
path: root/databases/mysql50-server/files/mysql-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql50-server/files/mysql-server.sh')
-rw-r--r--databases/mysql50-server/files/mysql-server.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/mysql50-server/files/mysql-server.sh b/databases/mysql50-server/files/mysql-server.sh
index f22cbd0..6a5acb3 100644
--- a/databases/mysql50-server/files/mysql-server.sh
+++ b/databases/mysql50-server/files/mysql-server.sh
@@ -6,6 +6,7 @@ PIDFILE=${DB_DIR}/`/bin/hostname -s`.pid
case "$1" in
start)
if [ -x %%PREFIX%%/bin/safe_mysqld ]; then
+ /usr/bin/limits -U mysql \
%%PREFIX%%/bin/safe_mysqld --user=mysql --datadir=${DB_DIR} --pid-file=${PIDFILE} > /dev/null &
echo -n ' mysqld'
fi
OpenPOWER on IntegriCloud