This commit is contained in:
parent
3e4323b63f
commit
98b21f83da
5
run.sh
5
run.sh
@ -18,6 +18,7 @@ cat >/etc/rsyslog.conf <<EOF
|
|||||||
\$FileCreateMode 0640
|
\$FileCreateMode 0640
|
||||||
\$DirCreateMode 0755
|
\$DirCreateMode 0755
|
||||||
\$Umask 0022
|
\$Umask 0022
|
||||||
|
\$PreserveFQDN on
|
||||||
|
|
||||||
module(load="imudp")
|
module(load="imudp")
|
||||||
input(type="imudp" port="514" )
|
input(type="imudp" port="514" )
|
||||||
@ -27,6 +28,10 @@ input(type="imtcp" port="514" )
|
|||||||
|
|
||||||
module(load="mmutf8fix")
|
module(load="mmutf8fix")
|
||||||
action(type="mmutf8fix" replacementChar="?" )
|
action(type="mmutf8fix" replacementChar="?" )
|
||||||
|
|
||||||
|
# If the hostname is not specified, we use fromhost
|
||||||
|
if (\$hostname == '') then set \$!hostname = \$fromhost;
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "${TARGET_PROTO}" = "udp" ] ; then
|
if [ "${TARGET_PROTO}" = "udp" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user