Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problem starting programs from rc.local
@ 1994-09-12 14:16 Cormack Andrew
  1994-09-12 15:54 ` David Boyce
  0 siblings, 1 reply; 2+ messages in thread
From: Cormack Andrew @ 1994-09-12 14:16 UTC (permalink / raw)


I'm trying to start a home-made daemon program as part of the boot
sequence. I've added the necessary command to run the program in the 
background to the /sbin/init.d/rc.local script as:

	/usr/local/bin/registerd >> /var/adm/registerd.log 2>&1 &

Testing this by running rc.local at a shell prompt works fine: the daemon
buries itself in the background and waits to be called. When the script is
run on reboot, however, there is no sign of the daemon, nor any error
messages to indicate what went wrong. Worse, if I replace the daemon program
by a program which does nothing but sleep for two hours and run this as

	/usr/local/bin/sleepy &

this also vanishes.

Can anyone suggest what I am doing wrong ?

Thanks, Andrew

       +-----------------------------------------------------------------+
       | Andrew Cormack               | email: cormack@cardiff.ac.uk     |
       | Systems Programmer           | snail: 40/41 Park Place, Cardiff |
       | University of Wales, Cardiff |                                  |
       +-----------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-09-12 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-12 14:16 Problem starting programs from rc.local Cormack Andrew
1994-09-12 15:54 ` David Boyce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox