[syslog-ng]Running syslong-ng from init?

Balazs Scheidler syslog-ng@lists.balabit.hu
Mon, 19 May 2003 10:40:17 +0200


On Fri, May 16, 2003 at 07:08:02AM -0400, Jonathon Ross wrote:
> 
> syslog-ng seems to die on me from time to time. (I whish I had more info on
> why to share with you, but there doesn't seem to be anyting in the logs).

maybe you could enable core files (using ulimic -c unlimited) and then
create a backtrace using 

gdb syslog-ng -c /path/to/core
(gdb) bt

> 
> I'd like to run syslog-ng out of init, but I can't seem to find a way to
> keep it from fork()-ing.
> 
> Could anyone offer some advice?

-F does the trick to avoid forking.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1