projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure proxy can cope without libxslt
[yazpp-moved-to-github.git]
/
etc
/
yaz-proxy.sh
diff --git
a/etc/yaz-proxy.sh
b/etc/yaz-proxy.sh
index
b794d06
..
2b8e8fd
100755
(executable)
--- a/
etc/yaz-proxy.sh
+++ b/
etc/yaz-proxy.sh
@@
-1,5
+1,5
@@
#!/bin/sh
#!/bin/sh
-# $Id: yaz-proxy.sh,v 1.2 2003-10-24 10:33:01 adam Exp $
+# $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
# YAZ proxy start/stop init.d script.
#
PATH=/usr/local/bin:/bin:/usr/bin
@@
-7,8
+7,8
@@
export PATH
# Proxy CWD is here. Should be writable by it.
DIR=/var/yaz-proxy
# 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"
# Proxy PIDFILE. Must be writable by it.
PIDFILE="/var/run/yaz-proxy.pid"
@@
-29,6
+29,9
@@
if test -n "RUNAS"; then
ARGS="-u $RUNAS $ARGS"
fi
ARGS="-u $RUNAS $ARGS"
fi
+# Increase number of sockets, if needed
+#ulimit -n 1050
+
# Name, Description (not essential)
NAME=yaz-proxy
DESC="YAZ proxy"
# Name, Description (not essential)
NAME=yaz-proxy
DESC="YAZ proxy"