avoid too many open files on os x

This commit is contained in:
j 2014-05-27 20:10:30 +02:00
parent 3bf3be0bc4
commit 198a01f05b
1 changed files with 3 additions and 0 deletions

3
ctl
View File

@ -35,6 +35,9 @@ export oxCACHE
#must be called to update commands in $PATH
hash -r 2>/dev/null
# allow more open files
ulimit -S -n 2048
if [ "$1" == "start" ]; then
cd "$BASE/$NAME"
if [ -e $PID ]; then