aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-07-22 21:16:30 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-07-22 21:16:30 -0400
commit2949fe14d062e3a5082bb4fa4c42e973103ba472 (patch)
treefbdbf8b73efc02e4a7ea942d25eef3b5065ae6f4 /config/suricata
parent2024edc81c2ca27f1db214070e36b03346cb6a5a (diff)
downloadpfsense-packages-2949fe14d062e3a5082bb4fa4c42e973103ba472.tar.gz
pfsense-packages-2949fe14d062e3a5082bb4fa4c42e973103ba472.tar.bz2
pfsense-packages-2949fe14d062e3a5082bb4fa4c42e973103ba472.zip
Start Suricata in the background on a package re-install.
Diffstat (limited to 'config/suricata')
-rw-r--r--config/suricata/suricata_post_install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/suricata/suricata_post_install.php b/config/suricata/suricata_post_install.php
index 3931d682..33b3e632 100644
--- a/config/suricata/suricata_post_install.php
+++ b/config/suricata/suricata_post_install.php
@@ -268,8 +268,8 @@ if ($config['installedpackages']['suricata']['config'][0]['forcekeepsettings'] =
if ($pkg_interface <> "console") {
update_status(gettext("Starting Suricata using rebuilt configuration..."));
update_output_window(gettext("Please wait while Suricata is started..."));
- mwexec("{$rcdir}suricata.sh start");
- update_output_window(gettext("Suricata has been started using the rebuilt configuration..."));
+ mwexec_bg("{$rcdir}suricata.sh start");
+ update_output_window(gettext("Suricata is starting as a background task using the rebuilt configuration..."));
}
else
mwexec_bg("{$rcdir}suricata.sh start");