diff options
Diffstat (limited to 'etc/rsyslog.d/keepalivelog.conf')
-rw-r--r-- | etc/rsyslog.d/keepalivelog.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rsyslog.d/keepalivelog.conf b/etc/rsyslog.d/keepalivelog.conf new file mode 100644 index 0000000..36f6dc2 --- /dev/null +++ b/etc/rsyslog.d/keepalivelog.conf @@ -0,0 +1,7 @@ +# File: /etc/rsyslog.d/keepalivelog.conf +# bgstack15@gmail.com 2015-11-10 +# Reference: https://ask.puppetlabs.com/question/432/puppet-and-rsyslog/ +if $programname == "keepalive" then -/var/log/keepalive.log +& stop +if $programname == "keepalive.sh" then -/var/log/keepalive.log +& stop |