From ac677d6472b6c53bde8776529ab200ed285aaad2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 23 Oct 2003 13:25:27 +0000 Subject: [PATCH] Send HUP on reload - not INT --- src/yaz-proxy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yaz-proxy.sh b/src/yaz-proxy.sh index 10fb455..e097a3e 100755 --- 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) -- 1.7.10.4