NAME

Ereshkigal::App::Command::checkpoint - Force kur instances to write their ban state CSV out now.

VERSION

Version 0.0.1

SYNOPSIS

# every kur checkpoints
ereshkigal checkpoint

# just sshd
ereshkigal checkpoint sshd

DESCRIPTION

Forces kurs to write their tablets out now. Each kur persists what it is holding to CSVs under the cache dir, so timed bans survive a restart with the right time left on them.

Those writes already happen on every ban and unban, every checkpoint seconds, and at stop, so this is rarely needed... it is for taking a consistent snapshot before a backup or a manual look at the files. Writes are atomic, so a checkpoint racing a backup cannot hand out half a file.

With no args every kur checkpoints; with a kur name only that one, and naming a fan_out gate reaches every kur behind it.

METHODS

The App::Cmd hooks this subcommand supplies... abstract, description, usage_desc, validate_args, and execute.