* Thanks: problems starting daemons
@ 1994-09-19 15:56 Cormack Andrew
0 siblings, 0 replies; only message in thread
From: Cormack Andrew @ 1994-09-19 15:56 UTC (permalink / raw)
Thanks to those who replied with helpful suggestions. The problem seemed to
be that you can't just run a program from an init script by re-directing
all its output channels and backgrounding it with &. The program itself
needs to explicitly give up its controlling terminal (setsid()). While I
was doing this I also made it fork itself and use syslog rather than
fprintf(stderr,...). The program, and I, are now much happier :-)
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] only message in thread
only message in thread, other threads:[~1994-09-19 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-19 15:56 Thanks: problems starting daemons Cormack Andrew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox