From owner-freebsd-ports@FreeBSD.ORG Mon Sep 1 11:34:52 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 533A916A621 for ; Mon, 1 Sep 2003 11:34:52 -0700 (PDT) Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E54C6440BD for ; Mon, 1 Sep 2003 11:33:57 -0700 (PDT) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by l2mail1.panix.com (Postfix) with ESMTP id 1243B45BCA for ; Mon, 1 Sep 2003 14:31:33 -0400 (EDT) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail1.panix.com (Postfix) with ESMTP id 9433748AB9 for ; Mon, 1 Sep 2003 14:30:38 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id E0AEE2AA10 for ; Mon, 1 Sep 2003 14:30:34 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 19ttRi-0007Op-00 for ; Mon, 01 Sep 2003 14:30:34 -0400 Date: Mon, 1 Sep 2003 14:30:34 -0400 From: stan To: freebsd-ports@freebsd.org Message-ID: <20030901183034.GA28321@teddy.fas.com> Mail-Followup-To: freebsd-ports@freebsd.org References: <20030901161847.GA4451@titan.klemm.apsfilter.org> <1062433890.95262.1.camel@jake> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1062433890.95262.1.camel@jake> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.21 X-Uptime: 14:28:26 up 18 days, 7:25, 2 users, load average: 0.41, 0.11, 0.04 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Re: start/stop script woes: ./squid.sh: Cannot determine the PREFIX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 18:34:53 -0000 On Mon, Sep 01, 2003 at 12:31:30PM -0400, Adam McLaurin wrote: > On Mon, 2003-09-01 at 12:18, Andreas Klemm wrote: > > Hi fellows, > > > > again I trapped over this (and this many times in the last 1-2 years), > > when this kind of start-stop script methodology had been introduced > > to the ports tree. > > > > Its really not very comfortable having to call the start/stop scripts > > with the complete path. > > > > root@titan[ttyp2]{211} /usr/local/etc/rc.d ./squid.sh start > > ./squid.sh: Cannot determine the PREFIX > > This is a FAQ somewhere, I'm sure. > > When starting squid, you need to use the FULL PATH to the startup > script! > > /usr/local/etc/rc.d/squid.sh Yes, but as the orignal poster saked, is there a _good_ reason for this? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin