From 3283077102ab84e6abced96e29a2eac8c017d85f Mon Sep 17 00:00:00 2001 From: ppom <> Date: Fri, 5 May 2023 15:12:24 +0200 Subject: [PATCH] Fix doc error 'd' is an invalid duration unit https://pkg.go.dev/time#ParseDuration --- README.md | 2 +- config/reaction.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 524b793..98f6ee7 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ streams: cmd: *iptablesban unban: cmd: *iptablesunban - after: 2d + after: 48h ``` `/etc/systemd/system/reaction.service` diff --git a/config/reaction.yml b/config/reaction.yml index ca07044..001e0be 100644 --- a/config/reaction.yml +++ b/config/reaction.yml @@ -41,4 +41,4 @@ streams: cmd: *iptablesunban # if after is defined, the action will not take place immediately, but after a specified duration. # same format as retry-period - after: 2d + after: 48h