suricata: Introduce basic initscript
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 Aug 2018 17:54:22 +0000 (19:54 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 Aug 2018 17:54:22 +0000 (19:54 +0200)
commitd72b3e64c2515546b78a7cf099157799481da130
treee37b7a41168c6a389205e83b8e6aa64fef1a9eaa
parent101d3ece24c99a9696bb2dfe0add1cdfdebbbf91
suricata: Introduce basic initscript

Add a very basic initscript, which currently allows to start/stop/restart suricata and
check if the daemon is running.

The script will detect when starting suricata how many CPU cores are present on the system and
will launch suricata in inline mode (NFQUEUE) and listen to as much queues as CPU cores are
detected.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/rootfiles/common/armv5tel/initscripts
config/rootfiles/common/i586/initscripts
config/rootfiles/common/x86_64/initscripts
src/initscripts/system/suricata [new file with mode: 0644]