From: Peter Palfrader Date: Tue, 8 Apr 2014 09:17:04 +0000 (+0200) Subject: Raise ulimit -n for stunnel X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d62d46d9cfde7b97002868dd10f822db3c6166b7;p=mirror%2Fdsa-puppet.git Raise ulimit -n for stunnel --- diff --git a/modules/stunnel4/files/etc-init.d-stunnel4 b/modules/stunnel4/files/etc-init.d-stunnel4 index e2f442e72..6456bfb7d 100755 --- a/modules/stunnel4/files/etc-init.d-stunnel4 +++ b/modules/stunnel4/files/etc-init.d-stunnel4 @@ -23,6 +23,8 @@ DESC="SSL tunnels" OPTIONS="" ENABLED=0 +ulimit -n 4096 + if [ -n "${2:-}" ]; then if [ -e "/etc/stunnel/$2.conf" ]; then FILES="/etc/stunnel/$2.conf"