Does anyone have an init.d script for rsyslog for CentOS4? I have installed the latest version of rsyslog and have been trying to use one of the init.d files for Debian but I keep getting the following when I try to run /etc/init.d/rsyslogd start
/etc/rsyslog.conf: line 4: ModLoad: command not found
/etc/rsyslog.conf: line 5: imudp: command not found
/etc/rsyslog.conf: line 6: imtcp: command not found
/etc/rsyslog.conf: line 7: imuxsock: command not found
/etc/rsyslog.conf: line 8: imklog: command not found
/etc/rsyslog.conf: line 12: *.info: command not found
/etc/rsyslog.conf: line 12: mail.none: command not found
/etc/rsyslog.conf: line 12: authpriv.none: command not found
/etc/rsyslog.conf: line 12: cron.none: command not found
/etc/rsyslog.conf: line 15: authpriv.*: command not found
/etc/rsyslog.conf: line 18: mail.rc: command not found
/etc/rsyslog.conf: line 22: cron.d: command not found
/etc/rsyslog.conf: line 28: uucp,news.crit: command not found
/etc/rsyslog.conf: line 33: *.emerg: command not found
/etc/rsyslog.conf: line 34: *.alert: command not found
/etc/rsyslog.conf: line 35: *.crit: command not found
/etc/rsyslog.conf: line 36: local7.debug: command not found
/etc/init.d/rsyslog: line 85: log_daemon_msg: command not found
/etc/init.d/rsyslog: line 50: start-stop-daemon: command not found
/etc/init.d/rsyslog: line 92: log_end_msg: command not found


