On 06/20/2013 11:31 AM, Rainer Gerhards wrote:
On Wed, Jun 19, 2013 at 4:49 PM, David Lang<[email protected]> wrote:
On Wed, 19 Jun 2013, Rainer Gerhards wrote:
I have just checked the code and that is not intentional. I may have
overlooked something, as omprog was originally writen to a user request,
but that users disappeared when it was done and nobody else reported much
on it. I think this is the right solution for external programs, and so I
would be very happy to look into problems that the module may have.
I know that a restart of rsyslog will kill the program specified,
it doesn't actively kill it, but the program will receive end-of-file on
it's input.
will a HUP kill and restart the program?
no
It is slightly off-topic, but since SEC was mentioned in this thread,
then the current version will actually not terminate on EOF on pipe. It
will terminate either on TERM from parent, or with a help of a special
rule that would call exit(0) on no input. Since this is not very
convenient for connecting SEC to rsyslog via memory-based pipe, the new
version of SEC (currently ready and under testing) will have better
support for receiving input over a pipe from rsyslog.
kind regards,
risto
Will rsyslog detect if the program exits and restart it?
yes
Rainer
David Lang
______________________________**_________________
rsyslog mailing list
http://lists.adiscon.net/**mailman/listinfo/rsyslog<http://lists.adiscon.net/mailman/listinfo/rsyslog>
http://www.rsyslog.com/**professional-services/<http://www.rsyslog.com/professional-services/>
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.