diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-01-15 23:55:53 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-01-15 23:55:53 +0000 |
commit | f8254ace970d5d922716bc3fa0a5049c57023ce7 (patch) | |
tree | 88a8bf0202afdac765b91066e26ab8dbb34f9009 /lib/server/Daemon.h | |
parent | 573891c9d60d0556e8caa09f0580d0f7c0e9b320 (diff) |
Add option parsing with getopt()
Add "-D" flag as SINGLEPROCESS equivalent
Add "-q" and "-v" options to control master logging level
Log fatal errors as FATAL rather than ERROR
Log daemon start and stop as NOTICE rather than INFO (refs #3)
Diffstat (limited to 'lib/server/Daemon.h')
-rw-r--r-- | lib/server/Daemon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/server/Daemon.h b/lib/server/Daemon.h index dbc83e98..b28d752a 100644 --- a/lib/server/Daemon.h +++ b/lib/server/Daemon.h @@ -41,6 +41,7 @@ private: public: int Main(const char *DefaultConfigFile, int argc, const char *argv[]); + int Main(const std::string &rConfigFile, bool singleProcess); virtual void Run(); const Configuration &GetConfiguration() const; |