From ff6aace7fdd27c21de701e92c28a8ec239632fff Mon Sep 17 00:00:00 2001 From: Anh Le Date: Thu, 26 Jul 2018 23:21:32 -0700 Subject: [PATCH] Quote reload command suricata-update throws error if the command is not quoted. ``` suricata-update: error: unrecognized arguments: kill -USR2 ``` --- doc/update.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/update.rst b/doc/update.rst index 0233cc3..998c28b 100644 --- a/doc/update.rst +++ b/doc/update.rst @@ -160,7 +160,7 @@ Options A command to run after the rules have been updated; will not run if no change to the output files was made. For example:: - --reload-command=sudo kill -USR2 $(cat /var/run/suricata.pid) + --reload-command='sudo kill -USR2 $(cat /var/run/suricata.pid)' will tell Suricata to reload its rules. -- 2.47.3