summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/suricata.xml.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/op-mode-definitions/suricata.xml.in b/op-mode-definitions/suricata.xml.in
deleted file mode 100644
index a5025afba..000000000
--- a/op-mode-definitions/suricata.xml.in
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0"?>
-<interfaceDefinition>
- <node name="update">
- <children>
- <node name="suricata">
- <properties>
- <help>Update Suricata</help>
- </properties>
- <command>if test -f /run/suricata/suricata.yaml; then sudo suricata-update --suricata-conf /run/suricata/suricata.yaml; sudo systemctl restart suricata; else echo "Service Suricata not configured"; fi </command>
- </node>
- </children>
- </node>
- <node name="restart">
- <children>
- <node name="suricata">
- <properties>
- <help>Restart Suricata service</help>
- </properties>
- <command>if systemctl is-active --quiet suricata; then sudo systemctl restart suricata.service; else echo "Service Suricata not configured"; fi</command>
- </node>
- </children>
- </node>
-</interfaceDefinition>