mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Don't run through mod setup on restart
This commit is contained in:
parent
b18f1cc120
commit
3fe3f420f6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user