mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 08:56:23 -04:00
net/haproxy: enable xmlrpc sync
This commit is contained in:
parent
939f722545
commit
1233d7e8c7
1 changed files with 13 additions and 0 deletions
|
|
@ -68,3 +68,16 @@ function haproxy_services()
|
|||
|
||||
return $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* sync configuration via xmlrpc
|
||||
* @return array
|
||||
*/
|
||||
function haproxy_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'haproxy';
|
||||
$result['section'] = 'OPNsense.HAProxy';
|
||||
$result['description'] = 'HAProxy load balancer';
|
||||
return array($result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue