X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=etc%2Fyaz-proxy.sh;h=fa6e0f0970caccd4e2e9cf1f67ee5137c8bd6623;hb=b0e80dcddb94c00391505d78f2f79b42469af14e;hp=757e2406d87999feea2bcca48c71025f28033ebb;hpb=ab42ade0e6fe70998e8fe70338b2d78008d388f7;p=yazpp-moved-to-github.git diff --git a/etc/yaz-proxy.sh b/etc/yaz-proxy.sh index 757e240..fa6e0f0 100755 --- a/etc/yaz-proxy.sh +++ b/etc/yaz-proxy.sh @@ -1,21 +1,15 @@ #!/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 . -# Modified for Debian GNU/Linux -# by Ian Murdock . -# -# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl +# $Id: yaz-proxy.sh,v 1.3 2003-10-24 11:19:54 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 (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" @@ -36,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"