struct

Fluxion::RestartPolicy

Inherits Struct < Value < Object

What has to happen to the user's session before a job's effects are actually usable.

This exists because several kinds of setup exit 0 while the running session still cannot see the result — usermod -aG docker is the canonical case. Modelling it lets Fluxion stop cleanly and print a resume command instead of letting later steps fail for reasons the user cannot diagnose.

Constants

TYPES = ["none", "prompt-logout", "requires-new-shell"] of ::String

Constructors

Class methods

valid_type?(type : String | Nil) : String | Nil
Source

Instance methods

config_name
Source
halts?

True when reaching this policy ends the run rather than continuing to the next job.

Source
initialize
Source

Nested types