1
0
Fork 0

fixed startup

This commit is contained in:
Jan Steemann 2015-03-27 18:33:05 +01:00
parent 3057cf7a74
commit 3ac535bb69
2 changed files with 3 additions and 2 deletions

View File

@ -99,7 +99,7 @@ int main (int argc, char* argv[]) {
signal(SIGSEGV, abortHandler);
#if _WIN32
#ifdef _WIN32
bool const startAsService = TRI_ParseMoreArgs(argc, argv);
#else
bool const startAsService = false;

View File

@ -236,7 +236,8 @@ static int ForkProcess (string const& workingDirectory, string& current) {
////////////////////////////////////////////////////////////////////////////////
AnyServer::AnyServer ()
: _mode(ServerMode::MODE_STANDALONE),
: _daemonMode(false),
_mode(ServerMode::MODE_STANDALONE),
_supervisorMode(false),
_pidFile(""),
_workingDirectory(""),