diff options
author | jim-p <jimp@pfsense.org> | 2013-08-27 21:48:51 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-08-27 21:48:51 -0400 |
commit | 1d30d667df0c29089c539c0bc10d1b67b46c2769 (patch) | |
tree | 42c1556e69a8817d30e437d2a56701334290091f /config/procwatch/procwatch.xml | |
parent | 42ce51dbf43450e455ffe212e51cefe934c396aa (diff) | |
download | pfsense-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.xml')
-rw-r--r-- | config/procwatch/procwatch.xml | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/config/procwatch/procwatch.xml b/config/procwatch/procwatch.xml new file mode 100644 index 00000000..9db6d40d --- /dev/null +++ b/config/procwatch/procwatch.xml @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> +<packagegui> + <copyright> + <![CDATA[ +/* ========================================================================== */ +/* + procwatch.xml + part of pfSense (http://www.pfSense.com) + Copyright (C) 2013 Jim Pingle + All rights reserved. +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ +/* ========================================================================== */ + ]]> + </copyright> + <description>ProcWatch</description> + <requirements>None</requirements> + <faq>Monitors for stopped services and restarts them.</faq> + <name>ProcWatch</name> + <version>1.0</version> + <title>Services: Procwatch</title> + <include_file>/usr/local/pkg/procwatch.inc</include_file> + <menu> + <name>ProcWatch</name> + <tooltiptext></tooltiptext> + <section>Services</section> + <url>/services_procwatch.php</url> + </menu> + <additional_files_needed> + <prefix>/usr/local/www/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/procwatch/services_procwatch.php</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/www/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/procwatch/services_procwatch_add.php</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>755</chmod> + <item>http://www.pfsense.com/packages/config/procwatch/procwatch_cron.php</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>644</chmod> + <item>http://www.pfsense.com/packages/config/procwatch/procwatch.inc</item> + </additional_files_needed> +</packagegui>
\ No newline at end of file |