[Pld-cvs-commit] SOURCES: squid.init - add ulimit

Elan Ruusamäe glen at delfi.ee
Mon May 16 16:44:53 CEST 2005


erm?
ulimits should be controllable from /etc/sysconfig/APPLICATION

On Monday 16 May 2005 14:48, spider wrote:
> Author: spider                       Date: Mon May 16 11:48:03 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - add ulimit
>
> ---- Files affected:
> SOURCES:
>    squid.init (1.36 -> 1.37)
>
> ---- Diffs:
>
> ================================================================
> Index: SOURCES/squid.init
> diff -u SOURCES/squid.init:1.36 SOURCES/squid.init:1.37
> --- SOURCES/squid.init:1.36	Tue Aug 24 12:00:23 2004
> +++ SOURCES/squid.init	Mon May 16 13:47:58 2005
> @@ -61,6 +61,7 @@
>  	# Check if the service is already running?
>  	if [ ! -f /var/lock/subsys/squid ]; then
>  		msg_starting Squid
> +		ulimit -n 8192
>  		daemon $SERVICE_RUN_NICE_LEVEL squid $SQUID_OPTS
>  		RETVAL=$?
>  		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/squid
> ================================================================
>
> ---- CVS-web:
>     http://cvs.pld-linux.org/SOURCES/squid.init?r1=1.36&r2=1.37&f=u
>
>
> _______________________________________________
> Pld-cvs-commit mailing list
> Pld-cvs-commit at pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
glen




More information about the pld-devel-en mailing list