Use AM_LDFLAGS instead of LDFLAGS
[yazpp-moved-to-github.git] / etc / yaz-proxy.sh
index 757e240..2b8e8fd 100755 (executable)
@@ -1,21 +1,14 @@
 #!/bin/sh
-#
-# skeleton     example file to build /etc/init.d/ scripts.
-#              This file should be used to construct scripts for /etc/init.d.
-#
-#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
-#              Modified for Debian GNU/Linux
-#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-#
-# Version:     @(#)skeleton  1.8  03-Mar-1998  miquels@cistron.nl
+# $Id: yaz-proxy.sh,v 1.5 2004-01-07 13:26:16 adam Exp $
+# YAZ proxy start/stop init.d script.
 #
 PATH=/usr/local/bin:/bin:/usr/bin
 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 
+DAEMON=/usr/local/bin/yaz-proxy
 
 # Proxy PIDFILE. Must be writable by it.
 PIDFILE="/var/run/yaz-proxy.pid"
@@ -36,6 +29,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"