summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.restart_webgui
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-12-30 20:29:26 -0600
committerRenato Botelho <renato@netgate.com>2016-01-05 09:08:10 -0200
commit33d69e816f95340c9344d0c9d37a519b59049960 (patch)
treebf5ed107be959c3adcd1edf41033d9eee39234a1 /src/etc/rc.restart_webgui
parentc74719cde73c8ce19465e1887f8c519c4818147c (diff)
downloadpfsense-33d69e816f95340c9344d0c9d37a519b59049960.zip
pfsense-33d69e816f95340c9344d0c9d37a519b59049960.tar.gz
clean up restart_webgui
Diffstat (limited to 'src/etc/rc.restart_webgui')
-rwxr-xr-xsrc/etc/rc.restart_webgui7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/etc/rc.restart_webgui b/src/etc/rc.restart_webgui
index 7a0bcd3..d65b4d3 100755
--- a/src/etc/rc.restart_webgui
+++ b/src/etc/rc.restart_webgui
@@ -10,12 +10,7 @@ require_once("rrd.inc");
echo "Restarting webConfigurator...";
-sigkillbyname("lighttpd", "KILL");
-
-while (is_process_running("lighttpd")) {
- echo '.';
- sleep(1);
-}
+sigkillbypid("{$g['varrun_path']}/nginx-webConfigurator.pid", "TERM");
system_webgui_start();
OpenPOWER on IntegriCloud