fail2ban: restart when the log declaration changes
The file that says where fail2ban logs was not in restart-on, so a change to it would sit on disk with the running service unaware of it -- the same shape as any other jail file this module already restarts for.
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
"state": "running",
|
||||
"boot": "enabled",
|
||||
"restart-on": [
|
||||
"fail2ban-local",
|
||||
"jail-local",
|
||||
"jail-sshd",
|
||||
"jail-recidive",
|
||||
|
||||
Reference in New Issue
Block a user