Update
This commit is contained in:
parent
bfa45ca0bd
commit
942c24b495
1 changed files with 3 additions and 1 deletions
|
|
@ -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..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue