mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
swag-f2bdiscord update/add workflows
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ ! -d /usr/lib/python3.8/site-packages/geoip2 ]; then
|
||||
echo '------------------------------------------------------------------------'
|
||||
echo '| Running installation of required modules for swag-f2bdiscord'
|
||||
echo '------------------------------------------------------------------------'
|
||||
pip3 install --no-cache-dir -U \
|
||||
requests \
|
||||
argparse \
|
||||
geoip2==3.0.0
|
||||
fi
|
||||
|
||||
if [ ! -f /config/fail2ban/Fail2Ban.py ]; then
|
||||
cp /AwesomeFolder/Fail2Ban.py /config/fail2ban/
|
||||
chmod +x /config/fail2ban/Fail2Ban.py
|
||||
fi
|
||||
|
||||
if [ ! -f /config/fail2ban/action.d/discordEmbed.conf ]; then
|
||||
cp /AwesomeFolder/discordEmbed.conf /config/fail2ban/action.d
|
||||
fi
|
||||
Reference in New Issue
Block a user