aboutsummaryrefslogtreecommitdiffstats
path: root/config/servicewatchdog/servicewatchdog_cron.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-06 16:59:58 -0400
committerjim-p <jimp@pfsense.org>2015-08-06 16:59:58 -0400
commitd5f27ad3f734cd89ab448ba5cf505daf2ff293e0 (patch)
tree55164d7bd1d5f071ff6141c25e02fef5327682af /config/servicewatchdog/servicewatchdog_cron.php
parent425658f274ba1688a2b99bc926400bebf0e06afa (diff)
parentea127e3d7700d3253eb35cf90750c2bf658ed122 (diff)
downloadpfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.tar.gz
pfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.tar.bz2
pfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.zip
Merge pull request #942 from phil-davis/service-watchdog
Diffstat (limited to 'config/servicewatchdog/servicewatchdog_cron.php')
-rw-r--r--config/servicewatchdog/servicewatchdog_cron.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/servicewatchdog/servicewatchdog_cron.php b/config/servicewatchdog/servicewatchdog_cron.php
index 004afd97..9979917e 100644
--- a/config/servicewatchdog/servicewatchdog_cron.php
+++ b/config/servicewatchdog/servicewatchdog_cron.php
@@ -6,8 +6,9 @@ require_once("servicewatchdog.inc");
global $g;
/* Do nothing at bootup. */
-if ($g['booting'] || file_exists("{$g['varrun_path']}/booting"))
+if ($g['booting'] || file_exists("{$g['varrun_path']}/booting")) {
return;
+}
servicewatchdog_check_services();
?> \ No newline at end of file