Date: Mon, 6 Dec 2004 11:56:27 -0500 (EST) From: admin@bsdhelp.net To: "Lewis Thompson" <lewiz@fajita.org> Cc: ports@freebsd.org Subject: Re: rc.d script (and PATH) Message-ID: <1107.68.144.199.220.1102352187.squirrel@68.144.199.220> In-Reply-To: <20041206021823.GA787@fajita.org> References: <20041206021823.GA787@fajita.org>
next in thread | previous in thread | raw e-mail | index | archive | help
most likely your python will start after freevo if is a good idea to always include a path in you rc scripts. even if the depending service is started before make a path that includes all your dependencies. that way nothing gets missed. > Hi, > > I'm trying to create a rcNG-style startup script for multimedia/freevo > but I receive: ``can't find python version with installed freevo'' when > the script is executed at startup/shutdown. I suspect this is because > PATH in /etc/rc does not specify any /usr/local entries. > > I am wondering what is the correct way to go about handling this -- > should I just add PATH=$PATH:$PREFIX in the startup script (where > $PREFIX is expanded to the install-time PREFIX at install) or is there > some other way? > > Thanks very much, > > -lewiz. > > -- > I was so much older then, I'm younger than that now. --Bob Dylan, 1964. > ------------------------------------------------------------------------ > -| msn:lewiz@fajita.org | jabber:lewiz@jabber.org | url:www.lewiz.org |- >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107.68.144.199.220.1102352187.squirrel>