From owner-freebsd-questions@FreeBSD.ORG Sun Jun 20 19:13:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B3DE16A4D0 for ; Sun, 20 Jun 2004 19:13:55 +0000 (GMT) Received: from infidel.fajita.org (oldhallfarm.demon.co.uk [80.176.128.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74CB443D48 for ; Sun, 20 Jun 2004 19:13:53 +0000 (GMT) (envelope-from lewiz@fajita.org) Received: from majic.fajita.org (majic.fajita.org [192.168.0.4]) by infidel.fajita.org (8.12.10/8.12.10) with ESMTP id i5KJE1Y5071026; Sun, 20 Jun 2004 20:14:01 +0100 (BST) (envelope-from lewiz@fajita.org) Received: (from lewiz@localhost) by majic.fajita.org (8.12.10/8.12.10/Submit) id i5KJE0mC071025; Sun, 20 Jun 2004 20:14:00 +0100 (BST) (envelope-from lewiz) Date: Sun, 20 Jun 2004 20:14:00 +0100 From: Lewis Thompson To: Chuck Swiger Message-ID: <20040620191400.GA70741@fajita.org> References: <20040620175144.GA68736@fajita.org> <40D5DF22.5020609@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <40D5DF22.5020609@mac.com> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.lewiz.org/~lewiz/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.6i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-From: lewiz@fajita.org cc: FreeBSD-questions Subject: Re: Python application in rc.d. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2004 19:13:55 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 20, 2004 at 03:01:54PM -0400, Chuck Swiger wrote: > Lewis Thompson wrote: > >I'm trying to create a port for a Python application that I want to > >start from local/etc/rc.d. The command is this: > > > >/usr/bin/su freevo -c "/usr/local/bin/freevo -fs start" > /dev/null 2>&1 > > > > Unfortunately when I boot up I get a message about Python not being > >configured/available at this time. >=20 > Does the script set $PATH to include the location where python is? If yo= u=20 > don't list /usr/local/bin explicitly, this may be the problem... No, PATH doesn't get set but if I run it as /usr/local/bin/freevo.sh start =66rom a login shell (i.e. after the system has booted) it works fine. I might be getting confused but I think this indicates the script is good and it's a start-up problem. Is this just wrong? Thanks for your reply, -lewiz. --=20 I was so much older then, I'm younger than that now. --Bob Dylan, 1964. ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |- --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA1eH4Itq0KFQv7T8RAlugAKD8WUD0Gz8h6+3TW5pFz6ONP12fpACfYPH+ EUIOn2CsOQ8sxVbX/w5t7Ts= =gqMO -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--