enum

Honcho::ProcessMode

Inherits Enum < Comparable < Value < Object

Constants

PERMANENT = 0

The process is intended to run forever, and will always be restarted after exiting, regardless of whether it exited normally or not.

ONE_SHOT = 1

The process is meant to run once, with no guarantee of successful completion. The process will never be restarted.

TRANSIENT = 2

The process is meant to run until successful completion. The process will only be restarted if it exits abnormally.

Instance methods

one_shot?

Returns true if this enum value equals ONE_SHOT

Source
permanent?

Returns true if this enum value equals PERMANENT

Source
transient?

Returns true if this enum value equals TRANSIENT

Source