diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 22:29:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 22:29:06 +0200 |
| commit | c03a72f1d7b598c1fe8fd01bb1f5bbfbd0256313 (patch) | |
| tree | a597236be7dfa01ce8c659ff8a478c86d70d09c2 /docs/design.md | |
| parent | 3315b98bd9bbd71f480280102188c33193d91728 (diff) | |
| download | krino-c03a72f1d7b598c1fe8fd01bb1f5bbfbd0256313.tar.gz krino-c03a72f1d7b598c1fe8fd01bb1f5bbfbd0256313.zip | |
plan 10: an interrupt stops between steps; nohup keeps ignoring hangups
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 7 |
1 files changed, 5 insertions, 2 deletions
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 |
