summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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