aboutsummaryrefslogtreecommitdiffstats
path: root/config/procwatch/procwatch_cron.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-08-27 21:48:51 -0400
committerjim-p <jimp@pfsense.org>2013-08-27 21:48:51 -0400
commit1d30d667df0c29089c539c0bc10d1b67b46c2769 (patch)
tree42c1556e69a8817d30e437d2a56701334290091f /config/procwatch/procwatch_cron.php
parent42ce51dbf43450e455ffe212e51cefe934c396aa (diff)
downloadpfsense-packages-1d30d667df0c29089c539c0bc10d1b67b46c2769.tar.gz
pfsense-packages-1d30d667df0c29089c539c0bc10d1b67b46c2769.tar.bz2
pfsense-packages-1d30d667df0c29089c539c0bc10d1b67b46c2769.zip
Add ProcWatch, a little package to monitor services and restart them if they are stopped. Needs more testing, but the basics work.
Diffstat (limited to 'config/procwatch/procwatch_cron.php')
-rw-r--r--config/procwatch/procwatch_cron.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/procwatch/procwatch_cron.php b/config/procwatch/procwatch_cron.php
new file mode 100644
index 00000000..f4cc7608
--- /dev/null
+++ b/config/procwatch/procwatch_cron.php
@@ -0,0 +1,6 @@
+#!/usr/local/bin/php -f
+<?php
+require_once("procwatch.inc");
+
+procwatch_check_services();
+?> \ No newline at end of file