From: Anh Le Date: Fri, 27 Jul 2018 06:21:32 +0000 (-0700) Subject: Quote reload command X-Git-Tag: 1.0.0rc2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff6aace7fdd27c21de701e92c28a8ec239632fff;p=thirdparty%2Fsuricata-update.git Quote reload command suricata-update throws error if the command is not quoted. ``` suricata-update: error: unrecognized arguments: kill -USR2 ``` --- 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.