Go to the source code of this file.
Functions | |
void | start () |
Start all processes in the process list. More... | |
void | start_group (char *G) |
Start all processes in the group. More... | |
void | start_process (Process_T p) |
Start the given process. More... | |
void | dstart_process (char *P) |
Request the monit deamon to start the process P. More... |
Definition in file start.c.
|
Request the monit deamon to start the process P.
Definition at line 125 of file start.c. References myrun::bind_addr, close_socket(), myrun::controlfile, create_socket(), error(), exist_daemon(), exist_process(), get_basic_authentication_header(), get_process(), myrun::httpdport, is_process_running(), prog, Run, sock_send(), and start_process(). Referenced by start(), and start_group(). |
|
Start all processes in the process list.
Definition at line 56 of file start.c. References dstart_process(), myprocess::name, myprocess::next, processlist, and myprocess::start. |
|
Start all processes in the group.
Definition at line 72 of file start.c. References dstart_process(), myprocess::group, is, myprocess::name, myprocess::next, processlist, and myprocess::start. |
|
Start the given process.
Definition at line 94 of file start.c. References mycommand::arg, error(), is_process_running(), log(), myprocess::name, spawn(), and myprocess::start. Referenced by dstart_process(). |