Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2004 20:14:00 +0100
From:      Lewis Thompson <lewiz@fajita.org>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: Python application in rc.d.
Message-ID:  <20040620191400.GA70741@fajita.org>
In-Reply-To: <40D5DF22.5020609@mac.com>
References:  <20040620175144.GA68736@fajita.org> <40D5DF22.5020609@mac.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.
> 
> Does the script set $PATH to include the location where python is?  If you 
> 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
from 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.

-- 
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 |-

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA1eH4Itq0KFQv7T8RAlugAKD8WUD0Gz8h6+3TW5pFz6ONP12fpACfYPH+
EUIOn2CsOQ8sxVbX/w5t7Ts=
=gqMO
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040620191400.GA70741>