projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f5f97
)
Send HUP on reload - not INT
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Oct 2003 13:25:27 +0000
(13:25 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Oct 2003 13:25:27 +0000
(13:25 +0000)
src/yaz-proxy.sh
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.sh
b/src/yaz-proxy.sh
index
10fb455
..
e097a3e
100755
(executable)
--- a/
src/yaz-proxy.sh
+++ b/
src/yaz-proxy.sh
@@
-18,7
+18,7
@@
DIR=/var/yaz-proxy
DAEMON="/usr/local/bin/yaz-proxy"
# Proxy PIDFILE. Must be writable by it.
-PIDFILE="$DIR/yaz-proxy.pid"
+PIDFILE="/var/run/yaz-proxy.pid"
# Log file
LOGFILE=/var/log/yaz-proxy.log
@@
-65,7
+65,7
@@
case "$1" in
;;
reload)
if test -f $PIDFILE; then
- kill -INT `cat $PIDFILE`
+ kill -HUP `cat $PIDFILE`
fi
;;
restart|force-reload)