mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 00:42:34 -04:00
net/relayd: use simple service naming schema
Since the GUI is rewritten from scratch visibly rename "Load Balancer" to "Relayd" to align with our other plugins and avoid confusion about old documentation regarding the component on the web. Discussed with: @fbrendel
This commit is contained in:
parent
97c3975db3
commit
d75195e009
4 changed files with 7 additions and 7 deletions
|
|
@ -51,7 +51,7 @@ function relayd_services()
|
|||
$services = array();
|
||||
if (relayd_enabled()) {
|
||||
$services[] = array(
|
||||
'description' => gettext('Relayd Load Balancer'),
|
||||
'description' => gettext('Relayd'),
|
||||
'configd' => array(
|
||||
'restart' => array('relayd restart'),
|
||||
'start' => array('relayd start'),
|
||||
|
|
@ -66,7 +66,7 @@ function relayd_services()
|
|||
function relayd_xmlrpc_sync()
|
||||
{
|
||||
return array(array(
|
||||
'description' => gettext('Relayd Load Balancer'),
|
||||
'description' => gettext('Relayd'),
|
||||
'section' => 'OPNsense.relayd',
|
||||
'id' => 'relayd',
|
||||
));
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<form>
|
||||
<field>
|
||||
<id>relayd.general.enabled</id>
|
||||
<label>Enable load balancer</label>
|
||||
<label>Enable Relayd</label>
|
||||
<type>checkbox</type>
|
||||
<help><![CDATA[Enable or disable the Relayd loadbalancer.]]></help>
|
||||
<help><![CDATA[Enable or disable Relayd.]]></help>
|
||||
</field>
|
||||
<field>
|
||||
<id>relayd.general.interval</id>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<acl>
|
||||
<page-services-relayd>
|
||||
<name>Services: Load Balancer</name>
|
||||
<description>Allow access to the 'Services: Load Balancer' page.</description>
|
||||
<name>Services: Relayd</name>
|
||||
<description>Allow access to the 'Services: Relayd' page.</description>
|
||||
<patterns>
|
||||
<pattern>ui/relayd/*</pattern>
|
||||
<pattern>api/relayd/*</pattern>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<menu>
|
||||
<Services>
|
||||
<Relayd VisibleName="Load Balancer" cssClass="fa fa-truck fa-fw">
|
||||
<Relayd cssClass="fa fa-truck fa-fw">
|
||||
<Settings url="/ui/relayd/"/>
|
||||
<Status url="/ui/relayd/status/"/>
|
||||
<Log VisibleName="Log File" order="100" url="/diag_logs_relayd.php"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue