Bug fixes. Explain document in config. Logging changes - dsp elapsed time.
[yazpp-moved-to-github.git] / etc / yaz-proxy.sh
index b794d06..1434864 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: yaz-proxy.sh,v 1.2 2003-10-24 10:33:01 adam Exp $
+# $Id: yaz-proxy.sh,v 1.4 2003-11-25 21:54:02 adam Exp $
 # YAZ proxy start/stop init.d script.
 #
 PATH=/usr/local/bin:/bin:/usr/bin
@@ -7,8 +7,9 @@ export PATH
 
 # Proxy CWD is here. Should be writable by it.
 DIR=/var/yaz-proxy
-# Proxy Path
-DAEMON="/usr/local/bin/yaz-proxy"
+# Proxy Path (either the actual one, or the keepalive one (for testing)
+DAEMON=/usr/local/bin/yaz-proxy
+#DAEMON=/var/yaz-proxy/yaz-proxy-ka.sh
 
 # Proxy PIDFILE. Must be writable by it.
 PIDFILE="/var/run/yaz-proxy.pid"
@@ -29,6 +30,9 @@ if test -n "RUNAS"; then
        ARGS="-u $RUNAS $ARGS"
 fi
 
+# Increase number of sockets, if needed
+#ulimit -n 1050
+
 # Name, Description (not essential)
 NAME=yaz-proxy
 DESC="YAZ proxy"