diff --git a/internals/overlord/servstate/state-diagram.dot b/internals/overlord/servstate/state-diagram.dot index 7954864d..e3da5c62 100644 --- a/internals/overlord/servstate/state-diagram.dot +++ b/internals/overlord/servstate/state-diagram.dot @@ -7,6 +7,7 @@ digraph service_state_machine { node [penwidth=1] initial -> starting [label="start"] starting -> running [label="okay wait\nelapsed"] + starting -> terminating [label="stopped before\nokay wait elapses"] running -> terminating [label="stop"] running -> terminating [label="check failed\n(action \"restart\")"] terminating -> killing [label="terminate time\nelapsed"] diff --git a/internals/overlord/servstate/state-diagram.svg b/internals/overlord/servstate/state-diagram.svg index 4dd2f2bd..60dd86ff 100644 --- a/internals/overlord/servstate/state-diagram.svg +++ b/internals/overlord/servstate/state-diagram.svg @@ -1,221 +1,229 @@ - - - + + service_state_machine - + initial - -initial + +initial starting - -starting + +starting initial->starting - - -start + + +start running - -running + +running starting->running - - -okay wait -elapsed + + +okay wait +elapsed + + + +terminating + +terminating + + + +starting->terminating + + +stopped before +okay wait elapses exited - -exited + +exited - + starting->exited - - -exited - - - -terminating - -terminating + + +exited - + running->terminating - - -stop + + +stop - + running->terminating - - -check failed -(action "restart") + + +check failed +(action "restart") backoff - -backoff + +backoff - + running->backoff - - -exited -(action "restart") + + +exited +(action "restart") - + running->exited - - -exited -(action "ignore") + + +exited +(action "ignore") - + running->exited - - -exited -(action "shutdown") + + +exited +(action "shutdown") killing - -killing + +killing - + terminating->killing - - -terminate time -elapsed + + +terminate time +elapsed stopped - -stopped + +stopped - + terminating->stopped - - -exited -(not restarting) + + +exited +(not restarting) - + terminating->backoff - - -exited -(restarting) + + +exited +(restarting) - + killing->stopped - - -exited -(not restarting) + + +exited +(not restarting) - + killing->stopped - - -kill time -elapsed + + +kill time +elapsed - + killing->backoff - - -exited -(restarting) + + +exited +(restarting) - + stopped->starting - - -start + + +start - + backoff->starting - - -start + + +start - + backoff->running - - -backoff time -elapsed + + +backoff time +elapsed - + backoff->stopped - - -stop + + +stop - + exited->starting - - -start + + +start - + exited->stopped - - -stop + + +stop - + exited->backoff - - -check failed -(action "restart") + + +check failed +(action "restart")