From: ingvar Date: Thu, 17 May 2007 21:11:37 +0000 (+0000) Subject: :- is simpler than reverse negation X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7515f4555c62b1bc8c6341aa61ccffdcc422cff5;p=varnish :- is simpler than reverse negation git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1448 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/redhat/varnish.initrc b/varnish-cache/redhat/varnish.initrc index a7744d9f..429426a9 100755 --- a/varnish-cache/redhat/varnish.initrc +++ b/varnish-cache/redhat/varnish.initrc @@ -24,8 +24,7 @@ DAEMON="/usr/sbin/varnishd" mkdir -p /var/run/varnish 2>/dev/null # Open files (usually 1024, which is way too small for varnish) -[ ! "${NFILES}" ] && NFILES="131072" -ulimit -n ${NFILES} +ulimit -n ${NFILES:-131072} # See how we were called. case "$1" in