Document state_directory

Fixes #71
This commit is contained in:
ppom 2025-06-05 12:00:00 +02:00
commit 3beca6d7a5
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -38,6 +38,11 @@ local banFor(time) = {
},
},
// where the state (database) must be read
// defaults to . which means reaction's working directory.
// The systemd service starts reaction in /var/lib/reaction.
state_directory: '.',
// if set to a positive number max number of concurrent actions
// if set to a negative number no limit
// if not specified or set to 0 defaults to the number of CPUs on the system

View file

@ -15,6 +15,11 @@ definitions:
# ip46tables is a minimal C program (only POSIX dependencies) present as a subdirectory.
# it permits to handle both ipv4/iptables and ipv6/ip6tables commands
# where the state (database) must be read
# defaults to . which means reaction's working directory.
# The systemd service starts reaction in /var/lib/reaction.
state_directory: .
# if set to a positive number → max number of concurrent actions
# if set to a negative number → no limit
# if not specified or set to 0 → defaults to the number of CPUs on the system