diff --git a/usr/local/bin/setourip b/usr/local/bin/setourip index 43f9487..f36bf78 100644 --- a/usr/local/bin/setourip +++ b/usr/local/bin/setourip @@ -30,7 +30,7 @@ def main(): print(f"Ошибка: '{new_ip}' не является валидным IP-адресом.") sys.exit(1) - file_txt = "/etc/haproxy/whitelist-our-ips.txt" + file_txt = "/etc/haproxy/whitelists/whitelist-our-ips.txt" file_yaml = "/etc/crowdsec/parsers/s02-enrich/whitelist-our-ips.yaml" updated = False