From 3961a447693b8300e490042dc2abb020041735f7 Mon Sep 17 00:00:00 2001
From: Rene Moser
Date: Mon, 12 Jan 2015 10:38:37 +0100
Subject: [PATCH] setup-welcome: fix cli doc
* `createDirectory` does not exist, this should be `direcotory`.
* For changing the group option `--group` must be used.
* Default config directory is `/etc/icingaweb2` not `/etc/icingaweb`.
Signed-off-by: Eric Lippmann
---
.../setup/application/views/scripts/form/setup-welcome.phtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/setup/application/views/scripts/form/setup-welcome.phtml b/modules/setup/application/views/scripts/form/setup-welcome.phtml
index 9aad09dbc..8d3ba67c5 100644
--- a/modules/setup/application/views/scripts/form/setup-welcome.phtml
+++ b/modules/setup/application/views/scripts/form/setup-welcome.phtml
@@ -46,7 +46,7 @@ $cliPath = realpath(Icinga::app()->getApplicationDir() . '/../bin/icingacli');
); ?>
= mt('setup', 'If you\'ve got the IcingaCLI installed you can do the following:'); ?>
- = $cliPath ? $cliPath : 'icingacli'; ?> setup config createDirectory = ($user = Platform::getPhpUser()) !== null ? $user : 'your_webserver_group'; ?>= $configDir !== '/etc/icingaweb' ? ' --path ' . $configDir : ''; ?>;
+ = $cliPath ? $cliPath : 'icingacli'; ?> setup config directory --group = ($user = Platform::getPhpUser()) !== null ? $user : 'your_webserver_group'; ?>= $configDir !== '/etc/icingaweb2' ? ' --config ' . $configDir : ''; ?>;
= $cliPath ? $cliPath : 'icingacli'; ?> setup token create;
= mt('setup', 'In case the IcingaCLI is missing you can create the token manually:'); ?>