diff --git a/monitor-ynh b/monitor-ynh index 5ce5320..31b431e 100755 --- a/monitor-ynh +++ b/monitor-ynh @@ -1,6 +1,6 @@ #!/bin/bash - -source ./monitor-ynh-settings +script_dir="$(dirname "$0")" +source $script_dir/monitor-ynh-settings IPV4=false if ping -c 1 9.9.9.9 &> /dev/null && dig +short A wikipedia.fr &> /dev/null; then