FreeBSD Bugzilla – Attachment 202552 Details for
Bug 236017
security/py-fail2ban: 'fail2ban_pidfile' knob be ignored @ rc.conf.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
py-fail2ban.diff.txt (text/plain), 917 bytes, created by
theis
on 2019-03-04 16:48:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
theis
Created:
2019-03-04 16:48:27 UTC
Size:
917 bytes
patch
obsolete
>Index: files/fail2ban.in >=================================================================== >--- files/fail2ban.in (revision 494607) >+++ files/fail2ban.in (working copy) >@@ -8,14 +8,10 @@ > # 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 >-pidfile="${fail2ban_pidfile}" > > command="%%PREFIX%%/bin/fail2ban-server" > command_interpreter="%%PYTHON_CMD%%" >@@ -25,6 +21,14 @@ > > load_rc_config ${name} > >+# >+# DO NOT CHANGE THESE DEFAULT VALUES HERE >+# SET THEM IN THE /etc/rc.conf FILE >+# >+ >+fail2ban_enable=${fail2ban_enable-"NO"} >+pidfile=${fail2ban_pidfile-"/var/run/fail2ban/fail2ban.pid"} >+ > 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
Flags:
theis:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 236017
: 202552