Module daemon

Source
Expand description

Infrastructure to run / start / stop a service as a daemon process (or process group). See daemon for more info.

Modules§

warrants_restart
Trait and helpers to create restart need checkers for Daemon.other_restart_checks.

Structs§

Daemon
DaemonCheckExit
DaemonModeError
DaemonOpts
These settings may be useful to expose to the user.
DaemonPaths
DaemonResult
DaemonStateAccessor
DaemonStateReader
ExecutionResult
RestartOnFailures
StopOpts
StopReport

Enums§

DaemonError
DaemonMode
You may want to use this as a normal argument, i.e. via FromStr, instead, as then single strings can be passed through. There is more flexibility with the options here, though. XX currently this is also conflating STOP and Stop etc., and does not have up etc. aliases, thus pretty unusable.
DaemonWant
What state we want the daemon to be in
InOutError