FreeBSD Bugzilla – Attachment 204725 Details for
Bug 238250
security/py-fail2ban: fix rc startup script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fail2ban.diff
fail2ban.diff (text/plain), 897 bytes, created by
Dmitry Wagin
on 2019-05-30 19:19:38 UTC
(
hide
)
Description:
fail2ban.diff
Filename:
MIME Type:
Creator:
Dmitry Wagin
Created:
2019-05-30 19:19:38 UTC
Size:
897 bytes
patch
obsolete
>Index: security/py-fail2ban/files/fail2ban.in >=================================================================== >--- security/py-fail2ban/files/fail2ban.in (revision 502964) >+++ security/py-fail2ban/files/fail2ban.in (working copy) >@@ -8,13 +8,16 @@ > # fail2ban_enable="YES" > # fail2ban_flags="<set as needed>" > >-fail2ban_enable=${fail2ban_enable-"NO"} >-fail2ban_pidfile=${fail2ban_pidfile-"/var/run/fail2ban/fail2ban.pid"} >- > . /etc/rc.subr > > name="fail2ban" > rcvar=fail2ban_enable >+ >+load_rc_config ${name} >+ >+: ${fail2ban_enable:=NO} >+: ${fail2ban_pidfile:=/var/run/fail2ban/fail2ban.pid} >+ > pidfile="${fail2ban_pidfile}" > > command="%%PREFIX%%/bin/fail2ban-server" >@@ -23,8 +26,6 @@ > > extra_commands="reload jailstatus" > >-load_rc_config ${name} >- > start_cmd="${client} ${fail2ban_flags} start" > stop_cmd="${client} ${fail2ban_flags} stop" > reload_cmd="${client} ${fail2ban_flags} reload"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238250
: 204725