aboutsummaryrefslogtreecommitdiffstats
path: root/community/icingaweb2/icingaweb2.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/icingaweb2/icingaweb2.post-install')
-rw-r--r--community/icingaweb2/icingaweb2.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/icingaweb2/icingaweb2.post-install b/community/icingaweb2/icingaweb2.post-install
new file mode 100644
index 0000000000..425b0c05d2
--- /dev/null
+++ b/community/icingaweb2/icingaweb2.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+/usr/share/webapps/icingaweb2/bin/icingacli setup config directory --group icingaweb2;
+echo "Please take note of this setup token. This should be pasted into icingaweb2 setup web page: "
+/usr/share/webapps/icingaweb2/bin/icingacli setup token create;
+exit 0