mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 00:45:46 -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/"
|
LIB_PATH="/usr/local/lua/crowdsec/"
|
||||||
DATA_PATH="/var/lib/crowdsec/lua/"
|
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 ****"
|
echo "**** Configuring CrowdSec nginx Bouncer ****"
|
||||||
|
|
||||||
# If API keys are missing, disable mod and exit
|
# If API keys are missing, disable mod and exit
|
||||||
|
|||||||
Reference in New Issue
Block a user