X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fstunnel4%2Ffiles%2Fetc-init.d-stunnel4;h=6456bfb7dca4ec523cbb748f204460319dcab107;hb=080331cfd441de4326df4c8f3b68bdaaab467488;hp=17505c4cab5bb357eed490ab9944a978cde47769;hpb=cf7bde4c10beb5924f1c9749e3b8f0ab329cb63f;p=mirror%2Fdsa-puppet.git diff --git a/modules/stunnel4/files/etc-init.d-stunnel4 b/modules/stunnel4/files/etc-init.d-stunnel4 index 17505c4ca..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" @@ -117,7 +119,7 @@ case "$1" in ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|force-reload|restart}" >&2 + echo "Usage: $N {start|stop|force-reload|restart} []" >&2 exit 1 ;; esac