From 942c24b4957d39a1b2909c143397af85a2b0d0ce Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 27 Oct 2024 13:35:01 +0100 Subject: [PATCH] Update --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 01e8fa8..4b63bf2 100644 --- a/install.sh +++ b/install.sh @@ -89,7 +89,7 @@ if systemctl list-unit-files | grep -q '^abuseipdb-ufw.service'; then if [[ "$remove_existing" =~ ^(yes|y)$ ]]; then remove_service else - echo -e "INFO: Existing service will not be removed.\n" + echo -e "INFO: Existing service will not be removed\n" fi fi @@ -188,7 +188,9 @@ EOF echo "ERROR: Failed to create service file. Please check your permissions!" exit 1 fi + sudo systemctl daemon-reload + sudo systemctl restart abuseipdb-ufw.service if sudo systemctl enable abuseipdb-ufw.service && sudo systemctl start abuseipdb-ufw.service; then echo "INFO: Attempting to start the abuseipdb-ufw.service..."