From: Brian Ipsen (Brian.Ipsen_at_andebakken.dk)
Date: Thu 20 Mar 2003 - 07:44:51 GMT
Returning to a well-known issue:
> > Adding svscanboot to inittab...
> > package/run.inittab: kill: (1) - No such process <- ???
> The middle of the following answer is relevant:
> Also remember that starting stuff directly from `/etc/inittab' isn't going
> to work unless you are using `fakeinit' to start the vserver.
> > That error above make daemontools couldn't start and so does qmail.
Okay, adding the fakeinit flag solves the issue (even though the mingetty
commands most likely have to be removed from the /etc/inittab file). But I
was wondering if there is another way of doings things. The main problem, as
I see it, is that starting the daemontools from e.g. a script in
/etc/rc.d/init.d would not make the svscan process restart if it
terminates - as normally specified by the "respawn" action int the inittab
file. Are there any other ways of making sure that this process is respawned
if it terminates - besides using the respawn action in /etc/inittab ??