[fail2ban] Add some comments to the config files

Orion Poplawski orion at fedoraproject.org
Fri Mar 21 17:47:57 UTC 2014


commit 5dde66f4934720e97290b15c4cd5d7ae98e2ec1c
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Fri Mar 21 11:47:59 2014 -0600

    Add some comments to the config files

 fail2ban.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/fail2ban.spec b/fail2ban.spec
index 58937c7..66bf22b 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -180,11 +180,18 @@ rm %{buildroot}%{_sysconfdir}/%{name}/action.d/{ipfilter,pf,ufw}.conf
 rm %{buildroot}%{_sysconfdir}/%{name}/action.d/osx-*.conf
 # firewalld configuration
 cat > %{buildroot}%{_sysconfdir}/%{name}/jail.d/00-firewalld.conf <<EOF
+# This file is part of the fail2ban-firewalld package to configure the use of
+# the firewalld actions as the default actions.  You can remove this package
+# (along with the empty fail2ban meta-package) if you do not use firewalld
 [DEFAULT]
 banaction = firewallcmd-ipset
 EOF
 # systemd journal configuration
 cat > %{buildroot}%{_sysconfdir}/%{name}/jail.d/00-systemd.conf <<EOF
+# This file is part of the fail2ban-systemd package to configure the use of
+# the systemd journal as the default backend.  You can remove this package
+# (along with the empty fail2ban meta-package) if you do not want to use the
+# journal backend
 [DEFAULT]
 backend=systemd
 EOF


More information about the scm-commits mailing list