blob: c9b6e0ace9256d7969a9c920f2784903fd063018 (
plain)
1
2
3
4
5
6
7
|
#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
|