author | Michael Krelin <hacker@klever.net> | 2004-07-24 00:24:07 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-24 00:24:07 (UTC) |
commit | fbc32792b8d8266ff90aa60403f5da78739236f4 (patch) (unidiff) | |
tree | 77bc3f196a3733c9c86290f8a73d60bb609bbdd5 /src/process.h | |
parent | 125671c860a82643d36bc3da279d0b831fae4b34 (diff) | |
download | dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.zip dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.tar.gz dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.tar.bz2 |
processes specified by process names (pidof-like).
-rw-r--r-- | src/process.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index 27ee049..90b12d9 100644 --- a/src/process.h +++ b/src/process.h | |||
@@ -13,4 +13,5 @@ class process { | |||
13 | public: | 13 | public: |
14 | string pidfile; | 14 | string pidfile; |
15 | string process_name; | ||
15 | string restart_cmd; | 16 | string restart_cmd; |
16 | string notify; | 17 | string notify; |
@@ -32,4 +33,9 @@ class process { | |||
32 | 33 | ||
33 | void signal(int signum) const; | 34 | void signal(int signum) const; |
35 | void check() const; | ||
36 | |||
37 | static void prepare_herd(); | ||
38 | static void gather_proc_info(); | ||
39 | static void unprepare_herd(); | ||
34 | }; | 40 | }; |
35 | 41 | ||