remove api setup because master init do it
All checks were successful
build container icinga2 / build (push) Successful in 2m35s

This commit is contained in:
2025-02-02 21:13:57 +01:00
parent 6d1b917631
commit f224e974b0

View File

@@ -25,11 +25,6 @@ if [ -z "$(ls -A /data)" ]; then
fi
## init api user
if [ ! -f "$ICINGA2_FILE_API_CONF" ]; then
echo run api setup because no config exists
/usr/sbin/icinga2 api setup
## only on inital setup replace one time the api root user password if a env var is set
if [ ! -z "$ICINGA2_API_USER_ROOT_PASS" ]; then
echo set inital api root user password
@@ -56,7 +51,6 @@ if [ ! -f "$ICINGA2_FILE_API_CONF" ]; then
echo '}' >> $ICINGA2_FILE_API_USER_CONF
fi
fi
## enable icingadb feature if not active
if [ ! -f "$ICINGA2_FILE_ICINGADB_CONF" ]; then