generalize rsyslogd startup script so it also works for centos