]> git.ipfire.org Git - ipfire-2.x.git/commit
suricata: Force Suricata to write a PID file again
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Sep 2024 21:23:38 +0000 (23:23 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Sep 2024 08:44:02 +0000 (08:44 +0000)
commit8b73307b15a74b3e0781cfb3430298403e849ed6
treef101bfb9e4534da0f8d48426defb95bb1e91bb33
parent63f4b3a7bc4bd80b036c02f2483fd82ac5810aca
suricata: Force Suricata to write a PID file again

The PID file does not get written when Suricata is not being started in
daemon mode and therefore we need to pass it as a command line
parameter.

The initscript should not deal with the PID file when starting but needs
it to terminate the process and to check the process status.

The web UI can use the PID file again.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/suricata/suricata-watcher
html/cgi-bin/ids.cgi
src/initscripts/system/suricata