summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/portmap
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2006-07-16 15:09:55 +0200
committerWilly Tarreau <willy@wtap.(none)>2006-07-26 12:03:42 +0200
commit9a62ca7403c34dabcce7d0f6babe6f92b07c7a5c (patch)
treec23a9de35d39482a43f7c2366c9190c6b438952f /sbin/init.d/portmap
parent[RELEASE] init-scripts-0.3.20 (diff)
downloadinit-scripts-9a62ca7403c34dabcce7d0f6babe6f92b07c7a5c.tar.gz
[RELEASE] init-scripts-0.3.21v0.3.21
Diffstat (limited to 'sbin/init.d/portmap')
-rwxr-xr-xsbin/init.d/portmap13
1 files changed, 13 insertions, 0 deletions
diff --git a/sbin/init.d/portmap b/sbin/init.d/portmap
new file mode 100755
index 0000000..beb5110
--- /dev/null
+++ b/sbin/init.d/portmap
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+. `dirname $0`/functions
+
+option bin reserved_option /usr/sbin/portmap
+
+function fct_pre_start {
+ # portmap dies if >1024 fds are available !
+ ulimit -n 1024
+}
+
+load_config
+