diff --git a/config/action.d/dummy.conf b/config/action.d/dummy.conf index 20507c0b..dc4e1dbf 100644 --- a/config/action.d/dummy.conf +++ b/config/action.d/dummy.conf @@ -10,14 +10,14 @@ # Notes.: command executed once at the start of Fail2Ban. # Values: CMD # -actionstart = touch /tmp/fail2ban.dummy - printf %%b "\n" >> /tmp/fail2ban.dummy +actionstart = touch /var/run/fail2ban/fail2ban.dummy + printf %%b "\n" >> /var/run/fail2ban/fail2ban.dummy # Option: actionstop # Notes.: command executed once at the end of Fail2Ban # Values: CMD # -actionstop = rm -f /tmp/fail2ban.dummy +actionstop = rm -f /var/run/fail2ban/fail2ban.dummy # Option: actioncheck # Notes.: command executed once before each actionban command @@ -31,7 +31,7 @@ actioncheck = # Tags: See jail.conf(5) man page # Values: CMD # -actionban = printf %%b "+\n" >> /tmp/fail2ban.dummy +actionban = printf %%b "+\n" >> /var/run/fail2ban/fail2ban.dummy # Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the @@ -39,7 +39,7 @@ actionban = printf %%b "+\n" >> /tmp/fail2ban.dummy # Tags: See jail.conf(5) man page # Values: CMD # -actionunban = printf %%b "-\n" >> /tmp/fail2ban.dummy +actionunban = printf %%b "-\n" >> /var/run/fail2ban/fail2ban.dummy [Init]