From fbc32792b8d8266ff90aa60403f5da78739236f4 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 24 Jul 2004 00:24:07 +0000 Subject: processes specified by process names (pidof-like). --- (limited to 'src/process.h') diff --git a/src/process.h b/src/process.h index 27ee049..90b12d9 100644 --- a/src/process.h +++ b/src/process.h @@ -12,6 +12,7 @@ typedef map headers_t; class process { public: string pidfile; + string process_name; string restart_cmd; string notify; string user; @@ -31,6 +32,11 @@ class process { const string& description,configuration& config); void signal(int signum) const; + void check() const; + + static void prepare_herd(); + static void gather_proc_info(); + static void unprepare_herd(); }; typedef map processes_t; -- cgit v0.9.0.2