aboutsummaryrefslogtreecommitdiff
path: root/etc/rsyslog.d
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2016-10-27 09:57:35 -0400
committerB Stack <bgstack15@gmail.com>2016-10-27 09:57:35 -0400
commitb37d1fa1f1deda881eef751358917c29f38871b8 (patch)
tree9ce4a391f1ace15689fa55b8f321ec20cfc722cf /etc/rsyslog.d
downloadkeepalive-b37d1fa1f1deda881eef751358917c29f38871b8.tar.gz
keepalive-b37d1fa1f1deda881eef751358917c29f38871b8.tar.bz2
keepalive-b37d1fa1f1deda881eef751358917c29f38871b8.zip
Added to git
Diffstat (limited to 'etc/rsyslog.d')
-rw-r--r--etc/rsyslog.d/keepalivelog.conf7
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
bgstack15