Re: [rsyslog] omprog script left running after rsyslog stopped

2020-06-04 Thread Fourhundred Thecat via rsyslog
> On 2020-06-04 20:00, John Chivian via rsyslog wrote: From the documentation page... [omprog] Executes the configured program and feeds log messages to that binary via stdin. The binary is free to do whatever it wants with the supplied data. If the program terminates, it is re-started. If

Re: [rsyslog] omprog script left running after rsyslog stopped

2020-06-04 Thread John Chivian via rsyslog
From the documentation page... [omprog] Executes the configured program and feeds log messages to that binary via stdin. The binary is free to do whatever it wants with the supplied data. If the program terminates, it is re-started. If rsyslog terminates, the program’s stdin will see EOF. The

[rsyslog] omprog script left running after rsyslog stopped

2020-06-04 Thread Fourhundred Thecat via rsyslog
Hello, I am using omprog to send mail logs to my script: mail.* action(type="omprog" name="blacklist" binary="/usr/local/sbin/blacklist.py" template="long-iso") It works well, but I have noticed that when I stop rsyslog, the script is not terminated, but continues running. I can see the