mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly restart the SSL lighty instance when running.
This commit is contained in:
parent
d73da773ca
commit
3ad667cd28
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user