Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 16:57:37 +1030
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        adrian@freebsd.org
Cc:        ports@FreeBSD.org
Subject:   Simple but much needed ammendment to ${PREFIX}/etc/rc.d/squid.sh
Message-ID:  <3A726A59.194B4658@camtech.net.au>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------361467327FCFF8BF734CCEFF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Unified diff attached that give's the squid startup script a stop
action.
--------------361467327FCFF8BF734CCEFF
Content-Type: text/plain; charset=us-ascii;
 name="squid.sh.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="squid.sh.diff"

--- /usr/local/etc/rc.d/squid.sh.orig	Fri Jan 26 19:26:47 2001
+++ /usr/local/etc/rc.d/squid.sh	Fri Jan 26 19:28:02 2001
@@ -12,6 +12,7 @@
 	fi
 	;;
 stop)
+	${PREFIX}/sbin/squid -k shutdown
 	;;
 *)
 	echo "Usage: `basename $0` {start|stop}" >&2


--------------361467327FCFF8BF734CCEFF--



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?3A726A59.194B4658>