summaryrefslogtreecommitdiff
path: root/src/op_mode/update_suricata.sh
blob: 6e4e605f46aab7c79f65fa9c88e88d61edea1e54 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if test -f /run/suricata/suricata.yaml; then
  suricata-update --suricata-conf /run/suricata/suricata.yaml;
  systemctl restart suricata;
else
  echo "Service Suricata not configured";
fi