Remove f2b logrotate if service is disabled. Sanity check tarball.

This commit is contained in:
TheSpad
2023-02-12 12:31:21 +00:00
parent 3892ce009c
commit 5c921503cd
3 changed files with 12 additions and 0 deletions
@@ -5,4 +5,5 @@
if [[ ${CROWDSEC_F2B_DISABLE,,} == "true" ]]; then
echo "**** Disabling fail2ban Service ****"
s6-svc -d /run/service/svc-fail2ban
rm -rf /etc/logrotate.d/fail2ban
fi