Date: Tue, 28 Aug 2001 20:39:54 +0200 From: Adrian Chadd <adrian@freebsd.org> To: Eric Lam <ecrim@earthlink.net> Cc: adrian@freebsd.org, ports@freebsd.org Subject: Re: FreeBSD Port: squid-2.4_4 | squid.sh stop Message-ID: <20010828203954.A36608@ywing.creative.net.au> In-Reply-To: <IAEKKLIOEBMAKJIIGEBBOEDICCAA.ecrim@earthlink.net>; from ecrim@earthlink.net on Mon, Aug 27, 2001 at 02:15:18PM -0700 References: <IAEKKLIOEBMAKJIIGEBBOEDICCAA.ecrim@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 27, 2001, Eric Lam wrote: > It seems that squid.sh stop doesn't work. The squid process doesn't seem to > be killed. I need to be able to stop/start (restart) squid when I update > squid.conf. Could someone please advise? Hi, Can you (and other squid24 users) check to see if this has any adverse effects? Adrian --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff ? work Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/squid24/Makefile,v retrieving revision 1.84 diff -u -r1.84 Makefile --- Makefile 2001/08/28 16:48:35 1.84 +++ Makefile 2001/08/28 18:31:27 @@ -7,7 +7,7 @@ PORTNAME= squid PORTVERSION= 2.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= \ ftp://ftp.squid-cache.org/pub/squid-2/STABLE/ \ Index: files/squid.sh =================================================================== RCS file: /home/ncvs/ports/www/squid24/files/squid.sh,v retrieving revision 1.1 diff -u -r1.1 squid.sh --- files/squid.sh 2000/07/05 12:37:05 1.1 +++ files/squid.sh 2001/08/28 18:31:27 @@ -7,11 +7,12 @@ case "$1" in start) - if [ -x ${PREFIX}/sbin/RunCache -a -f ${PREFIX}/etc/squid/squid.conf ]; then - (cd /tmp; ${PREFIX}/sbin/RunCache >/dev/null 2>&1 &) ; echo -n ' squid' + if [ -x ${PREFIX}/sbin/squid -a -f ${PREFIX}/etc/squid/squid.conf ]; then + (cd /${PREFIX}/squid/logs; ${PREFIX}/sbin/squid >/dev/null 2>&1 &) ; echo -n ' squid' fi ;; stop) + ${PREFIX}/sbin/squid -k shutdown 2>&1 ;; *) echo "Usage: `basename $0` {start|stop}" >&2 --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010828203954.A36608>