Project

General

Profile

« Previous | Next » 

Revision 18725085

Added by Ermal LUÇI over 12 years ago

Correct checking status of vhosts-http as submitted by: http://forum.pfsense.org/index.php/topic,61636.0.html

View differences:

etc/inc/service-utils.inc
414 414
			if (isset($config['captiveportal'][$service['zone']]['httpslogin']))
415 415
				$running = $running && is_pid_running("{$g['varrun_path']}/lighty-{$service['zone']}-CaptivePortal-SSL.pid");
416 416
			break;
417
		case "vhosts-http":
418
			$running = is_pid_running("{$g['varrun_path']}/vhosts-http.pid");
419
			break;
417 420
		default:
418 421
			$running = is_service_running($service['name']);
419 422
	}

Also available in: Unified diff