From c03a72f1d7b598c1fe8fd01bb1f5bbfbd0256313 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 22:29:06 +0200 Subject: plan 10: an interrupt stops between steps; nohup keeps ignoring hangups --- docs/design.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/design.md') diff --git a/docs/design.md b/docs/design.md index 99e5b55..07728fc 100644 --- a/docs/design.md +++ b/docs/design.md @@ -701,8 +701,11 @@ Exit status: 0 success, including nothing to do and everything declined; 1 one or more steps failed; 2 usage or config error; 130 interrupted. A config error anywhere stops the whole run before any scanning: krino never -acts on a config it only partly understood. Ctrl-C during apply finishes the -current step, logs it, and stops. A second krino on the same directory waits +acts on a config it only partly understood. Ctrl-C (SIGTERM, or SIGHUP unless +started under `nohup`) during apply finishes the current step, logs it, skips +the rest of that file's chain, and stops. A second interrupt exits at once: +the step in flight is not logged, and a copy in progress can leave a +temporary `.krino-*` file and an empty directory behind. A second krino on the same directory waits for the lock, or fails immediately with `-y` (so a cron job never piles up). ## 12. Architecture -- cgit v1.3