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