[syslog-ng] Running script for checking syslog-ng status

Henry Xu xkb.surfing at gmail.com
Fri May 27 18:36:33 CEST 2011


Hi All,
	Yes, the "supervising syslog-ng" process starts by default.
	I did tests and killed the syslog-ng process when the supervising
process is running. But seems it didn't work.The new syslog-ng process
didn't start, and the supervising process stopped as well.
	What's wrong?

Best,
Henry

------------------------------

Message: 3
Date: Thu, 26 May 2011 23:47:51 +0200
From: Gergely Nagy <algernon at balabit.hu>
Subject: Re: [syslog-ng] Running script for checking syslog-ng status
To: Syslog-ng users' and developers' mailing list
	<syslog-ng at lists.balabit.hu>
Message-ID: <874o4hdth4.fsf at luthien.mhp>
Content-Type: text/plain

Matthew Hall <mhall at mhcomputing.net> writes:

> On Thu, May 26, 2011 at 10:49:08AM +0200, Gergely Nagy wrote:
>> It was also brought to my attention, that syslog-ng has a built-in 
>> supervisor, that will restart it in case it crashes. This can be 
>> enabled by starting syslog-ng with the --process-mode=safe-background 
>> command-line argument.
>> 
>> (What do you know? I never knew this was there! One learns something 
>> new every day!)
>
> Gergely,
>
> I thought the supervisor was on by default. Am I mistaken to believe 
> this?

You are correct.



More information about the syslog-ng mailing list