summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_services.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-22 10:04:24 +0000
committerErmal <eri@pfsense.org>2011-07-22 10:05:55 +0000
commit3ad667cd28ee315328c60b18f3fd2193671fd4d1 (patch)
treea2c44855e80e056158e3eb6ea6915a17d01731b3 /usr/local/www/status_services.php
parentd73da773cae9ab70f708051e7c7a17230c333487 (diff)
downloadpfsense-3ad667cd28ee315328c60b18f3fd2193671fd4d1.zip
pfsense-3ad667cd28ee315328c60b18f3fd2193671fd4d1.tar.gz
Correctly restart the SSL lighty instance when running.
Diffstat (limited to 'usr/local/www/status_services.php')
-rwxr-xr-xusr/local/www/status_services.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index d463f3a..2303054 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -63,6 +63,7 @@ if($_GET['mode'] == "restartservice" and !empty($_GET['service'])) {
switch($_GET['service']) {
case 'captiveportal':
killbypid("{$g['varrun_path']}/lighty-CaptivePortal.pid");
+ killbypid("{$g['varrun_path']}/lighty-CaptivePortal-SSL.pid");
captiveportal_init_webgui();
break;
case 'ntpd':
@@ -157,6 +158,7 @@ if($_GET['mode'] == "stopservice" && !empty($_GET['service'])) {
switch($_GET['service']) {
case 'captiveportal':
killbypid("{$g['varrun_path']}/lighty-CaptivePortal.pid");
+ killbypid("{$g['varrun_path']}/lighty-CaptivePortal-SSL.pid");
break;
case 'ntpd':
killbyname("ntpd");
OpenPOWER on IntegriCloud