remove api setup because master init do it
All checks were successful
build container icinga2 / build (push) Successful in 2m35s
All checks were successful
build container icinga2 / build (push) Successful in 2m35s
This commit is contained in:
6
init.sh
6
init.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user