fail2ban service: fix formatting of example

This commit is contained in:
Leroy Hopson 2015-07-04 18:51:04 +12:00
parent f6f892e2d6
commit eb90705d45

View File

@ -50,9 +50,8 @@ in
jails = mkOption { jails = mkOption {
default = { }; default = { };
example = example = literalExample ''
{ "apache-nohome-iptables" = { apache-nohome-iptables = '''
''
# Block an IP address if it accesses a non-existent # Block an IP address if it accesses a non-existent
# home directory more than 5 times in 10 minutes, # home directory more than 5 times in 10 minutes,
# since that indicates that it's scanning. # since that indicates that it's scanning.
@ -62,8 +61,9 @@ in
findtime = 600 findtime = 600
bantime = 600 bantime = 600
maxretry = 5 maxretry = 5
''';
}
''; '';
};
type = types.attrsOf types.lines; type = types.attrsOf types.lines;
description = description =
'' ''