diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2002-11-10 21:47:46 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2002-11-10 21:47:46 +0000 |
commit | be81ea8214a49690c7bd4a87759afc20c1de9304 (patch) | |
tree | b35fc38694fec848d7a588da51a6fd881d984473 /databases/mysql50-server | |
parent | Update to 1.4.6 (diff) |
Set limits from user mysql before starting mysqld.
Submitted by: Denis Shaposhnikov <dsh@neva.vlink.ru>
Notes
Notes:
svn path=/head/; revision=69853
Diffstat (limited to 'databases/mysql50-server')
-rw-r--r-- | databases/mysql50-server/Makefile | 2 | ||||
-rw-r--r-- | databases/mysql50-server/files/mysql-server.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile index 5011bb848da1..b95e0453421d 100644 --- a/databases/mysql50-server/Makefile +++ b/databases/mysql50-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= ${MASTERPORTNAME} PORTVERSION= 3.23.53 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.kernelnotes.de/MySQL/Downloads/MySQL-3.23/ \ diff --git a/databases/mysql50-server/files/mysql-server.sh b/databases/mysql50-server/files/mysql-server.sh index f22cbd0c8235..6a5acb39a962 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 |