From: scoanc@compu010.cf.ac.uk (Cormack Andrew)
Subject: Problem starting programs from rc.local
Date: Mon, 12 Sep 1994 14:16:35 +0000 [thread overview]
Message-ID: <1994Sep12.141637.19191@cm.cf.ac.uk> (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 | |
+-----------------------------------------------------------------+
next reply other threads:[~1994-09-12 14:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-12 14:16 Cormack Andrew [this message]
1994-09-12 15:54 ` Problem starting programs from rc.local David Boyce
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox