|
@ -54,8 +54,9 @@ module.exports = { |
|
|
confFile = confFile.replace('.conf', '.win32.conf'); |
|
|
confFile = confFile.replace('.conf', '.win32.conf'); |
|
|
redis = 'redis-64\\tools\\redis-server.exe'; |
|
|
redis = 'redis-64\\tools\\redis-server.exe'; |
|
|
} |
|
|
} |
|
|
var rp = spawn.sync(redis, [confFile], { stdio: 'inherit' }); |
|
|
var rp = spawn(redis, [confFile], { stdio: 'inherit' }); |
|
|
|
|
|
|
|
|
|
|
|
waitForRedis(true, function () { |
|
|
done(null, { |
|
|
done(null, { |
|
|
spawnFailed: function () { |
|
|
spawnFailed: function () { |
|
|
return false; // Remove if as soon as it's not necessary anymore
|
|
|
return false; // Remove if as soon as it's not necessary anymore
|
|
@ -73,5 +74,6 @@ module.exports = { |
|
|
rp.kill('SIGTERM'); |
|
|
rp.kill('SIGTERM'); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
}, port); |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|