summaryrefslogtreecommitdiffabout
path: root/src/process.h
Side-by-side diff
Diffstat (limited to 'src/process.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/process.h6
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
@@ -12,6 +12,7 @@ typedef map<string,string> 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<string,process> processes_t;