]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 e2f442e721985ffc9bd6c4b93de1bffc499303fe..6456bfb7dca4ec523cbb748f204460319dcab107 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"