mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-22 18:50:43 +01:00
also prepared test case for TLS testing, but not activated it inside the build itself. A note on TLS testing: the current testsuite (in git!) already contains TLS test cases. However, getting these test cases correct is not simple. That's not a problem with the code itself, but rater a problem with synchronization in the test environment. So I have deciced to keep the TLS tests in, but not yet actually utilize them. This is most probably left as an excercise for future (devel) releases.
14 lines
364 B
Bash
Executable File
14 lines
364 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 -9 `cat rsyslog.pid`
|
|
sleep 1
|
|
fi
|
|
if [ -e "rsyslog2.pid" ]
|
|
then
|
|
echo rsyslog2.pid exists, trying to shut down rsyslogd process `cat rsyslog2.pid`.
|
|
kill -9 `cat rsyslog2.pid`
|
|
sleep 1
|
|
fi
|