]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
suricata: Add a watcher to restart on unexpected termination
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Sep 2024 18:09:22 +0000 (20:09 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Sep 2024 10:25:05 +0000 (12:25 +0200)
commitf551d9a6111311c1aafcd2dd0d139cfa6b1d87f3
tree9b181df0616f0f560c9aa280f1cd60ca2358932e
parent93763fc8d5d8dc315a6a8874a209d4476273dc13
suricata: Add a watcher to restart on unexpected termination

This patch adds a watcher process that will restart suricata when it is
being killed by SIGKILL (e.g. by the OOM killer) or after a SEGV.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/suricata
config/suricata/suricata-watcher [new file with mode: 0644]
lfs/suricata
src/initscripts/system/suricata