mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 02:50:40 +01:00
Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
8 lines
204 B
Bash
Executable File
8 lines
204 B
Bash
Executable File
#check if rsyslog instance exists and, if so, kill it
|
|
if [ -e "rsyslog.pid" ]
|
|
then
|
|
echo rsyslog.pid exists, trying to shut down rsyslogd process `cat rsyslog.pid`.
|
|
kill `cat rsyslog.pid`
|
|
sleep 1
|
|
fi
|