blob: 7ba4750a7a0e880af8e3840c0e2dfa36f50282fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset
<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
$InputUDPServerBindRuleset remote
$UDPServerRun 514
<% end -%>
<% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
$InputTCPServerBindRuleset remote
$InputTCPServerRun 514
<% end -%>
|