From 2949fe14d062e3a5082bb4fa4c42e973103ba472 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Wed, 22 Jul 2015 21:16:30 -0400 Subject: Start Suricata in the background on a package re-install. --- config/suricata/suricata_post_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/suricata/suricata_post_install.php') 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"); -- cgit v1.2.3