mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 22:03:32 -04:00
Don't run through mod setup on restart
This commit is contained in:
@@ -5,6 +5,11 @@ CONFIG_PATH="/config/crowdsec/"
|
||||
LIB_PATH="/usr/local/lua/crowdsec/"
|
||||
DATA_PATH="/var/lib/crowdsec/lua/"
|
||||
|
||||
if [[ ! -e "/crowdsec-nginx-bouncer.tgz" ]]; then
|
||||
# Crowdsec bouncer already configured
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "**** Configuring CrowdSec nginx Bouncer ****"
|
||||
|
||||
# If API keys are missing, disable mod and exit
|
||||
|
||||
Reference in New Issue
Block a user