From 564f91cfb554ca564e1ae6d2caa46f3bbda32cf1 Mon Sep 17 00:00:00 2001 From: "Ivan Valdes (@ivanvc)" Date: Tue, 26 Apr 2011 17:09:22 -0700 Subject: [PATCH] Fix of locating the binary of the mongod daemon --- DaemonController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DaemonController.m b/DaemonController.m index 23b3d76..c8ed500 100644 --- a/DaemonController.m +++ b/DaemonController.m @@ -169,7 +169,7 @@ -(void)start @try { NSMutableArray *arrayOfArguments = [[NSMutableArray alloc] initWithObjects:@"run", nil]; [self initDaemonTask]; - daemon_task.launchPath = @"/usr/local/bin/mongod"; + daemon_task.launchPath = location; if (arguments) { [arrayOfArguments addObjectsFromArray:[arguments componentsSeparatedByString:@" "]];