Files

78 lines
2.2 KiB
XML

<?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[
/*
* haproxy.xml
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2009-2025 Rubicon Communications, LLC (Netgate)
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
]]>
</copyright>
<name>haproxy</name>
<title>HAProxy</title>
<aftersaveredirect>/pkg_edit.php?xml=haproxy_pools.php</aftersaveredirect>
<include_file>/usr/local/pkg/haproxy/haproxy.inc</include_file>
<menu>
<name>HAProxy</name>
<tooltiptext></tooltiptext>
<section>Services</section>
<url>/haproxy/haproxy_listeners.php</url>
</menu>
<menu>
<name>HAProxy Stats</name>
<tooltiptext>Stats of HAProxy</tooltiptext>
<section>Status</section>
<url>/haproxy/haproxy_stats.php?haproxystats=1</url>
</menu>
<service>
<name>haproxy</name>
<rcfile>haproxy.sh</rcfile>
<executable>haproxy</executable>
<description>TCP/HTTP(S) Load Balancer</description>
</service>
<plugins>
<item>
<type>plugin_carp</type>
</item>
<item>
<type>plugin_certificates</type>
</item>
<item>
<type>plugin_xmlrpc_send</type>
</item>
<item>
<type>plugin_xmlrpc_recv</type>
</item>
<item>
<type>plugin_xmlrpc_recv_done</type>
</item>
</plugins>
<configpath>installedpackages->haproxy->config</configpath>
<custom_php_install_command>
haproxy_custom_php_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
haproxy_custom_php_deinstall_command();
</custom_php_deinstall_command>
<filter_rules_needed>
haproxy_generate_rules
</filter_rules_needed>
</packagegui>