[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] BB environment variables
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] BB environment variables
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Mon, 6 Oct 2008 19:20:15 +0200
- References: <48EA3536.9090302 (at) shadowsoft.com>
- User-agent: KMail/1.9.9
On Monday 06 October 2008, Jon Boede wrote:
> What's a good way to get all the BB environment variables set up when I
> want to use them in a script that's not launched from hobbitd?
>
> For example, if I have a script that receives an email and reports a
> status because of it? I know that I could hard-code everything, but
> that's tacky. :-)
server/bin/bbcmd <your script>
And if that gives an error that it can not open a config file, first do
export BBHOME=<server dir>
This also works for the hobbit client.
Stef