mirror of https://gitee.com/bigwinds/arangodb
fixed startup
This commit is contained in:
parent
3057cf7a74
commit
3ac535bb69
|
@ -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;
|
||||
|
|
|
@ -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(""),
|
||||
|
|
Loading…
Reference in New Issue