[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qmail start



The cacophony of voices in my head
Inform me that Al Lipscomb said:
> On Sat, Mar 17, 2001 at 08:59:34PM -0600, Vasil Slavov wrote:
> > Hi,
> > I have a problem starting qmail. In FreeBSD I used to start 
> > it by making a symlink in /usr/local/etc/rc.d to 
> > /var/qmail/rc. Well, in OpenBSD there is no such dir.
> > I read in the FAQ that I can start daemons from 
> > /etc/rc.local, but I still weren't able to start qmail.
> > First, I tried just adding /var/qmail/rc at the end of the 
> > file, then I tried:
> > 
> > if [ -x /var/qmail/rc ]; then
> > 	echo -n ' qmail';	/var/qmail/rc
> > fi

Here I'd just start daemontools and let it manage the rest, see below.

> Take a look at http://www.lifewithqmail.org and follow the installation
> steps there. I had qmail running on OpenBSD in about an hour.

Or try and look at this:

	http://localhost/qmail-install.tar.gz

It's close to what you'll get by following http://www.lifewithqmail.org,
but a lot more terse, it's done more in the OpenBSD way, no SysV-style
start/stop scripts, very straightforward.

I've made it, I'd appreciate feedback, if there's interest I'd like to
make it a little more general amd flesh it out some more ;-)

It's the setup I've been running for months now without any problems.
 
> > And where am I supposed to put the scripts which I want to 
> > be executed upon each boot?
> > 
> /etc /usr/local 

Uhm ... /usr/local/sbin/some_script typically and /etc/rc.local, right?

HTH
		Morten

-- 
lynx -source http://home1.stofanet.dk/liebach/pgpkey.html | gpg --import -
UNIX, reach out and grep someone!