diff options
author | Ermal <eri@pfsense.org> | 2011-07-22 10:04:24 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-22 10:05:55 +0000 |
commit | 3ad667cd28ee315328c60b18f3fd2193671fd4d1 (patch) | |
tree | a2c44855e80e056158e3eb6ea6915a17d01731b3 /usr/local/www/status_services.php | |
parent | d73da773cae9ab70f708051e7c7a17230c333487 (diff) | |
download | pfsense-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-x | usr/local/www/status_services.php | 2 |
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"); |