Setup: make icingacli alternative command working OOTB
This commit is contained in:
parent
b4afdf4115
commit
ae5018ccea
|
@ -101,7 +101,7 @@ if (! (false === ($distro = Platform::getLinuxDistro(1)) || $distro === 'linux')
|
||||||
</div>
|
</div>
|
||||||
<p><?= $this->translate('In case the IcingaCLI is missing you can create the token manually:'); ?></p>
|
<p><?= $this->translate('In case the IcingaCLI is missing you can create the token manually:'); ?></p>
|
||||||
<div class="code">
|
<div class="code">
|
||||||
<span>su <?= $phpUser ?: $this->translate('<your-webserver-user>'); ?> -c "mkdir -m 2770 <?= dirname($setupTokenPath); ?>; chgrp icingaweb2 <?= dirname($setupTokenPath); ?>; head -c 12 /dev/urandom | base64 | tee <?= $setupTokenPath; ?>; chmod 0660 <?= $setupTokenPath; ?>;";</span>
|
<span>su <?= $phpUser ?: $this->translate('<your-webserver-user>'); ?> -s /bin/sh -c "mkdir -m 2770 <?= dirname($setupTokenPath); ?>; chgrp icingaweb2 <?= dirname($setupTokenPath); ?>; head -c 12 /dev/urandom | base64 | tee <?= $setupTokenPath; ?>; chmod 0660 <?= $setupTokenPath; ?>;";</span>
|
||||||
</div>
|
</div>
|
||||||
<p><?= sprintf(
|
<p><?= sprintf(
|
||||||
$this->translate('Please see the %s for an extensive description on how to access and use this wizard.'),
|
$this->translate('Please see the %s for an extensive description on how to access and use this wizard.'),
|
||||||
|
|
Loading…
Reference in New Issue