rc.d script (and PATH)
admin at bsdhelp.net
admin at bsdhelp.net
Mon Dec 6 09:19:54 PST 2004
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 at fajita.org | jabber:lewiz at jabber.org | url:www.lewiz.org |-
>
More information about the freebsd-ports
mailing list