From 4256bcac9f599b2d5f1e0e87d672f04e7beec136 Mon Sep 17 00:00:00 2001 From: elAgala Date: Sun, 26 Jan 2025 18:24:22 -0300 Subject: [PATCH] Fix Make installation | Fix caddy CrowdSec API key retrieval script --- templates/caddy/full/Makefile | 2 +- utils/install_make.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/caddy/full/Makefile b/templates/caddy/full/Makefile index 4180df8..05d3189 100644 --- a/templates/caddy/full/Makefile +++ b/templates/caddy/full/Makefile @@ -10,7 +10,7 @@ caddy\:restart: caddy\:crowdsec-key @echo "Generating new CrowdSec API key..." - @docker exec caddy caddy reload --config /etc/caddy/Caddyfile || true + docker exec crowdsec cscli bouncers add caddy-bouncer @echo "\n=== IMPORTANT ===\nCopy the API_KEY from the output above and replace the value of CROWDSEC_API_KEY in your .env file." caddy\:logs: diff --git a/utils/install_make.sh b/utils/install_make.sh index 001a740..5499061 100644 --- a/utils/install_make.sh +++ b/utils/install_make.sh @@ -3,6 +3,6 @@ function install_make() { echo "[ UTILS ]: Installing Make" sudo apt update - sudo apt install build-essential + sudo apt install make echo "[ UTILS ]: Make installed succesfully" }