#!/bin/sh # you need to specify this TARGET_HOST=${TARGET_HOST:-127.0.0.1} # tcp (default) | udp TARGET_PROTO=${TARGET_PROTO:-tcp} # 514 is the common default TARGET_PORT=${TARGET_PORT:-514} # DEBUG MODE ENABLED if != 0 DEBUG=${DEBUG:-0} cat >/etc/rsyslog.conf <>/etc/rsyslog.conf <>/etc/rsyslog.conf <>/etc/rsyslog.conf <>/etc/rsyslog.conf <