Expand description
A harness child, restarted the way OTP restarts one.
Permanent restarts however it exited, transient only on a crash,
temporary never. max_restarts exits inside window_secs give up
(Armstrong, Making reliable distributed systems in the presence of
software errors). ljos supervise prints a herdr agent start
line and does not run it. A persona pane is opened by the [[tool]]
table in persona_session, not by that line.
Structs§
- Child
- One harness child.
max_restartsexits insidewindow_secsgive up. - Decision
- What
ljos superviseprints. - Supervisor
- The exits already counted, as seconds since the epoch.
Enums§
- Action
- What the supervisor does with one exit.
- Exit
Kind - Whether the child exited on its own or failed.
- Restart
- How a child is restarted. The three OTP values.
Functions§
- herdr_
argv - The herdr line that would start this child again:
herdr agent start persona-NAME --no-focus --cwd HOME -- sh SCRIPT. The script is the one that execs the harness.ljos superviseprints the line and does not run it.