projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Listen on all port 22s
[mirror/dsa-puppet.git]
/
modules
/
stunnel4
/
files
/
etc-init.d-stunnel4
diff --git
a/modules/stunnel4/files/etc-init.d-stunnel4
b/modules/stunnel4/files/etc-init.d-stunnel4
index
c4bb5ad
..
6456bfb
100755
(executable)
--- a/
modules/stunnel4/files/etc-init.d-stunnel4
+++ b/
modules/stunnel4/files/etc-init.d-stunnel4
@@
-23,7
+23,9
@@
DESC="SSL tunnels"
OPTIONS=""
ENABLED=0
OPTIONS=""
ENABLED=0
-if [ -n "${2-:}" ]; then
+ulimit -n 4096
+
+if [ -n "${2:-}" ]; then
if [ -e "/etc/stunnel/$2.conf" ]; then
FILES="/etc/stunnel/$2.conf"
else
if [ -e "/etc/stunnel/$2.conf" ]; then
FILES="/etc/stunnel/$2.conf"
else
@@
-117,7
+119,7
@@
case "$1" in
;;
*)
N=/etc/init.d/$NAME
;;
*)
N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|force-reload|restart}" >&2
+ echo "Usage: $N {start|stop|force-reload|restart}
[<stunnel instance>]
" >&2
exit 1
;;
esac
exit 1
;;
esac