summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local-config/files/template-ar-restart.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/ossec-hids-local-config/files/template-ar-restart.xml.in')
-rw-r--r--security/ossec-hids-local-config/files/template-ar-restart.xml.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/ossec-hids-local-config/files/template-ar-restart.xml.in b/security/ossec-hids-local-config/files/template-ar-restart.xml.in
new file mode 100644
index 0000000..064167e
--- /dev/null
+++ b/security/ossec-hids-local-config/files/template-ar-restart.xml.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<template_config>
+
+ <active-response>
+ <!-- Restart OSSEC if "ossec.conf" or "agent.conf" changes. -->
+ <command>restart-ossec</command>
+ <location>local</location>
+ <rules_id>56002,56004,56022,56024</rules_id>
+ </active-response>
+
+</template_config>