#!/bin/bash

. /etc/sysconfig/rsyslog

PIDFILE=/var/run/rsyslogd.pid
PROGRAM=/usr/sbin/rsyslogd
ARGS="-c${COMPAT}"
RUNLEVEL=S
NEEDS="+local_fs"
PROVIDES=syslog

if ! [[ -z ${RSYSLOG_CONFIG} ]]; then
  ARGS="${ARGS} -f ${RSYSLOG_CONFIG}"
fi

. /etc/init.d/smgl_init
