mudando
This commit is contained in:
@@ -118,10 +118,10 @@ EOF
|
||||
load_observability_env() {
|
||||
local env_file
|
||||
|
||||
if [ -f "./.env.observability" ]; then
|
||||
env_file="./.env.observability"
|
||||
else
|
||||
if [ -d "./${INSTALL_DIR}" ]; then
|
||||
env_file="${INSTALL_DIR}/.env.observability"
|
||||
else
|
||||
env_file="./.env.observability"
|
||||
fi
|
||||
|
||||
if [ ! -f "$env_file" ]; then
|
||||
@@ -353,14 +353,14 @@ verify_result() {
|
||||
|
||||
main() {
|
||||
print_banner
|
||||
load_observability_env
|
||||
check_systemctl
|
||||
check_docker_installed
|
||||
check_docker_service_status
|
||||
show_summary
|
||||
configure_docker_service
|
||||
configure_docker_log_limit
|
||||
verify_result
|
||||
verify_result
|
||||
load_observability_env
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user