Core Update 173: Ship and restart Suricata

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2023-02-07 11:31:17 +00:00
parent 3178fa3b32
commit e6c97353cc
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../common/suricata

View File

@@ -49,6 +49,7 @@ done
/usr/local/bin/openvpnctrl -k
/usr/local/bin/openvpnctrl -kn2n
/etc/rc.d/init.d/sshd stop
/etc/rc.d/init.d/suricata stop
KVER="xxxKVERxxx"
@@ -135,6 +136,9 @@ done
/usr/local/bin/sshctrl
# Start services
if grep -q "ENABLE_IDS=on" /var/ipfire/suricata/settings; then
/etc/rc.d/init.d/suricata start
fi
/etc/rc.d/init.d/apache start
if grep -q "ENABLE_SSH=on" /var/ipfire/remote/settings; then
/etc/init.d/sshd start