This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
fail2ban [2009/10/11 07:13] k2patel |
fail2ban [2009/10/11 07:17] k2patel |
||
---|---|---|---|
Line 282: | Line 282: | ||
size=+4096k | size=+4096k | ||
postrotate | postrotate | ||
- | /usr/bin/fail2ban-client reload 1>/dev/null || true | + | /etc/init.d/fail2ban reload |
endscript | endscript | ||
} | } | ||
+ | </code> | ||
+ | |||
+ | If you do not have init script you can use following code to reload fail2ban as postrotate command. | ||
+ | |||
+ | <code bash> | ||
+ | /usr/bin/fail2ban-client reload 1>/dev/null || true | ||
</code> | </code> | ||