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:
Franco Fichtner 2018-02-07 15:37:47 +00:00
parent 97c3975db3
commit d75195e009
4 changed files with 7 additions and 7 deletions

View file

@ -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',
));

View file

@ -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>

View file

@ -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>

View file

@ -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"/>