Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName string = "service"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
type Process struct { sync.Mutex Pid int ExecTimeout time.Duration RemainAfterExit bool RestartSec uint64 // contains filtered or unexported fields }
Process structure contains an information about process, restart information, log, errors, etc
type Service ¶
type Service struct { Command string `mapstructure:"command"` ProcessNum int `mapstructure:"process_num"` ExecTimeout time.Duration `mapstructure:"exec_timeout"` RemainAfterExit bool `mapstructure:"remain_after_exit"` RestartSec uint64 `mapstructure:"restart_sec"` }
Service represents particular service configuration
Click to show internal directories.
Click to hide internal directories.