diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-04-26 21:26:54 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-04-26 21:27:03 -0400 |
commit | be3f6bb35e7043ced9488d724c942d530f324abc (patch) | |
tree | ef10252c029d3e95b7827346902ddee49e9db088 /config/varnish64/varnish_settings.xml | |
parent | 9b49646252fb3b91c9bbea6182d33846c6f49988 (diff) | |
download | pfsense-packages-be3f6bb35e7043ced9488d724c942d530f324abc.tar.gz pfsense-packages-be3f6bb35e7043ced9488d724c942d530f324abc.tar.bz2 pfsense-packages-be3f6bb35e7043ced9488d724c942d530f324abc.zip |
Adding inital revision of varnish64 package
Diffstat (limited to 'config/varnish64/varnish_settings.xml')
-rw-r--r-- | config/varnish64/varnish_settings.xml | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/config/varnish64/varnish_settings.xml b/config/varnish64/varnish_settings.xml new file mode 100644 index 00000000..60d08c1d --- /dev/null +++ b/config/varnish64/varnish_settings.xml @@ -0,0 +1,93 @@ +<?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[ +/* ========================================================================== */ +/* + varnish_settings.xml + part of pfSense (http://www.pfSense.com) + Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com> + 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>Describe your package here</description> + <requirements>Describe your package requirements here</requirements> + <faq>Currently there are no FAQ items provided.</faq> + <name>varnishsettings</name> + <version>0.0.1</version> + <title>Varnish Settings</title> + <aftersaveredirect>pkg_edit.php?xml=varnish_settings.xml&id=0</aftersaveredirect> + <include_file>/usr/local/pkg/varnish.inc</include_file> + <menu> + <name>Varnish</name> + <section>Services</section> + <configfile>backends.xml</configfile> + </menu> + <service> + <name>varnish</name> + <rcfile>varnish.sh</rcfile> + </service> + <tabs> + <tab> + <text>Backends</text> + <url>/pkg.php?xml=backends.xml</url> + </tab> + </tabs> + <configpath>['installedpackages']['varnish']['config']</configpath> + <fields> + <field> + <fielddescr>Storage type</fielddescr> + <fieldname>storagetype</fieldname> + <description>The SMTP version banner that is reported upon initial connection.</description> + <type>select</type> + <options> + <option><name>Memory</name><value>malloc</value></option> + <option><name>Disk</name><value>ondisk</value></option> + </options> + </field> + <field> + <fielddescr>Cache storage size in megabytes</fielddescr> + <fieldname>storagesize</fieldname> + <description>Enter the size of the varnish cache in megabytes. HINT: 1024 == 1 Gigabyte</description> + <type>input</type> + </field> + <field> + <fielddescr>Listening port</fielddescr> + <fieldname>listeningport</fieldname> + <description>Enter the port you would like varnish to listen on. Defaults to 80.</description> + <type>input</type> + </field> + </fields> + <custom_php_validation_command> + </custom_php_validation_command> + <custom_php_resync_config_command> + sync_package_varnish(); + </custom_php_resync_config_command> +</packagegui>
\ No newline at end of file |