From owner-freebsd-ports Mon Mar 11 8:11:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from tomts17-srv.bellnexxia.net (tomts17.bellnexxia.net [209.226.175.71]) by hub.freebsd.org (Postfix) with ESMTP id 0220037B43E for ; Mon, 11 Mar 2002 08:11:47 -0800 (PST) Received: from unios.dhs.org ([209.226.99.113]) by tomts17-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020311161145.IKXB4161.tomts17-srv.bellnexxia.net@unios.dhs.org> for ; Mon, 11 Mar 2002 11:11:45 -0500 Message-ID: <3C8CD6DB.6050207@unios.dhs.org> Date: Mon, 11 Mar 2002 11:10:03 -0500 From: Pat User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020224 X-Accept-Language: en-us MIME-Version: 1.0 To: ports@freebsd.org Subject: Diff to squid startup script Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Power went out on one of my machines over the weekend, and I noticed squid will not come up again if it sees a squid.pid file in the log directory. This just ensures that the pid file is gone when the system comes back up (reliablity fix): 11c11 < (cd /${PREFIX}/squid/logs; ${PREFIX}/sbin/squid >/dev/null 2>&1 &) ; echo -n ' squid' --- > (cd /${PREFIX}/squid/logs; rm -f squid.pid; ${PREFIX}/sbin/squid >/dev/null 2>&1 &) ; echo -n ' squid' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message