Fixing HEAD in index.js

This commit is contained in:
Jeff Morgan 2014-09-10 23:03:44 -07:00
parent e8fe955cfd
commit 691b766ec5
1 changed files with 0 additions and 4 deletions

View File

@ -47,11 +47,7 @@ var start = function (callback) {
console.log('MongoDB: ' + mongoPort);
console.log('webPort: ' + webPort);
child_process.exec('kill $(ps aux -e | grep PURPOSE=KITEMATIC | awk \'{print $2}\') && rm ' + path.join(dataPath, 'mongod.lock'), function (error, stdout, stderr) {
<<<<<<< HEAD
var mongoChild = child_process.spawn(path.join(__dirname, 'resources', 'mongod'), ['--bind_ip', '127.0.0.1', '--dbpath', dataPath, '--port', mongoPort, '--unixSocketPrefix', dataPath], {
=======
var mongoChild = child_process.spawn(path.join(process.cwd(), 'resources', 'mongod'), ['--bind_ip', '127.0.0.1', '--dbpath', dataPath, '--port', mongoPort, '--unixSocketPrefix', dataPath], {
>>>>>>> master
env: {
PURPOSE: 'KITEMATIC'
}