On Wed, Apr 25, 2001 at 08:28:10PM -0500, David Talkington wrote:
> I discovered something bizarre when I installed daemontools on Red Hat
> 7.1 ... init didn't like the length of the process field for the
> entry. (Watch the console during boot or init changes to see this). I

>From init.c, in read_inittab(), there is

        if (process && strlen(process) > 127)
                strcpy(err, "process field too long");

This is of course undocumented---but at least there is no silent
truncation. 

The process field Dan recommends has 132 characters in it...

But the "console" stuff is not needed under Linux; just put

SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service

in inittab. 

Mate

Reply via email to