]> git.ipfire.org Git - people/ms/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>
Sat, 21 Sep 2024 10:25:05 +0000 (12:25 +0200)
commitc36991085529d03027553e3f21ffb2ce32063a17
tree6e995659e3203ee8b3838702239d1a1e45e76982
parent5b8c57b774be563f17dc97f69734f670d8c7d5b8
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