aboutsummaryrefslogtreecommitdiff
path: root/system/icingaweb2/doinst.sh
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2022-05-30 02:25:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-04 10:37:01 +0700
commit4b22bd41659058a3ebb45dde49dad0bd71a3b40d (patch)
treebeedf29015c42ab981405b98967eb9b743ff1e6f /system/icingaweb2/doinst.sh
parent73e336ece0604e228489f6503a3f1bbb46523c9b (diff)
system/icingaweb2: Updated for version 2.10.1.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/icingaweb2/doinst.sh')
-rw-r--r--system/icingaweb2/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/icingaweb2/doinst.sh b/system/icingaweb2/doinst.sh
index 0478b817bf11..5c6c131feb06 100644
--- a/system/icingaweb2/doinst.sh
+++ b/system/icingaweb2/doinst.sh
@@ -13,5 +13,9 @@ config() {
config etc/httpd/extra/icingaweb2.conf.new
+[ ! -f etc/icingaweb2/setup.token ] \
+ && icingacli setup token create \
+ && chown apache:apache etc/icingaweb2/setup.token
+
find etc/icingaweb2 -type f -name '*.new' \
| while read new ; do config $new ; done