dsh-graceful-restart: Graceful Restart of a DSH Host After Requesting Idle Within a Session

dsh-graceful-restart (@dr-co/dsh-graceful-restart) resolves the issue of responses being truncated when performing a direct restart in a DSH session. By registering a request via `dsh_restart` and canceling it with `dsh_restart_cancel`, the plugin waits until all agents are idle and a configurable `quietSeconds` quiet window has elapsed before recording the cause and exiting. Upon restart, it sends notifications to `need_notify` sessions and to the owners of affected background jobs. Multiple `exitMethod` options are supported, including `systemctl`, custom commands, and more, all configurable from the Plugins page. Installation: `dsh plugin add @dr-co/dsh-graceful-restart`. MIT licensed, maintained by unera.

Read More