starting daemons from /etc/rc

David B. Thomas dt at yenta.alb.nm.us
Sat Jun 8 19:06:52 AEST 1991


This is another "I'm stupid" posting..

I was having trouble getting daemons to start up from /etc/rc.  I would
boot the system and they weren't running, but I could issue the exact
same command and start the daemon myself.

It turned out that the daemon takes a finite amount of time until it
manages to arrange to catch signals, so if the parent (rc script) dies
before that time, bye bye daemon.  Oooops!  I added a "sleep 5" to the
end of /etc/rc, and all of a sudden, it works right.

						little david
-- 
Unix is not your mother.



More information about the Comp.sys.3b1 mailing list