Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 14:06:01 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: creating rc.d scripts
Message-ID:  <80f4f2b20703211106pa3ae0c8qb918e4444724aeff@mail.gmail.com>
In-Reply-To: <A6F39707-BC87-4B93-9CC2-4E0699D3BEF0@mac.com>
References:  <80f4f2b20703211052q3e23a6b8lafbb30975fd1a5ac@mail.gmail.com> <A6F39707-BC87-4B93-9CC2-4E0699D3BEF0@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I forgot to mentions, sorry, doing
$ /usr/local/etc/rc.d/sb_server start

works just fine.

I used "/usr/bin/env python" because I would like to add this to the
port that installs the server this script starts, and I cannot be
certain that python will be installed in "/usr/local/bin", instead of
some other path directory (can I? Is this even a concern porters
should take into account?)

Thanks for the information. I'll reboot the machine and see if
sendmail is dead when I get home.

-Jim Stapleton

> Your rc script is probably not working because it might not find
> python under /usr/local/bin unless you explicitly set $PATH to
> include that directory.



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