diff --git a/doc/userguide/rule-management/rule-reload.rst b/doc/userguide/rule-management/rule-reload.rst index a857a21197..a73c5cecad 100644 --- a/doc/userguide/rule-management/rule-reload.rst +++ b/doc/userguide/rule-management/rule-reload.rst @@ -18,6 +18,14 @@ Signal:: kill -USR2 $(pidof suricata) -Unix socket:: +Unix socket has two method for rules reload. + +Blocking reload :: suricatasc -c reload-rules + +Non blocking reload :: + + suricatasc -c ruleset-reload-nonblocking + +It is also possible to get information about the last reload via dedicated commands. See :ref:`standard-unix-socket-commands` for more information. diff --git a/doc/userguide/unix-socket.rst b/doc/userguide/unix-socket.rst index 0769421490..aa11bde737 100644 --- a/doc/userguide/unix-socket.rst +++ b/doc/userguide/unix-socket.rst @@ -46,6 +46,8 @@ example to write custom scripts: * Perl: https://github.com/aflab/suricatac (a simple Perl client with interactive mode) * C: https://github.com/regit/SuricataC (a unix socket mode client in C without interactive mode) +.. _standard-unix-socket-commands: + Commands in standard running mode --------------------------------- You may need to install suricatasc if you have not done so, running the following command from scripts/suricatasc