Raise ulimit -n for stunnel
authorPeter Palfrader <peter@palfrader.org>
Tue, 8 Apr 2014 09:17:04 +0000 (11:17 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 8 Apr 2014 09:17:04 +0000 (11:17 +0200)
modules/stunnel4/files/etc-init.d-stunnel4

index e2f442e..6456bfb 100755 (executable)
@@ -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"