bitcoind: spawn in default configs

This commit is contained in:
Braydon Fuller 2016-04-08 15:29:57 -04:00
parent 1013ad3c56
commit d11d0300de
2 changed files with 8 additions and 4 deletions

View File

@ -20,8 +20,10 @@ function getDefaultBaseConfig(options) {
services: ['bitcoind', 'web'],
servicesConfig: {
bitcoind: {
datadir: options.datadir || path.resolve(process.env.HOME, '.bitcoin'),
exec: path.resolve(__dirname, '../../bin/bitcoind')
spawn: {
datadir: options.datadir || path.resolve(process.env.HOME, '.bitcoin'),
exec: path.resolve(__dirname, '../../bin/bitcoind')
}
}
}
}

View File

@ -36,8 +36,10 @@ function getDefaultConfig(options) {
services: defaultServices,
servicesConfig: {
bitcoind: {
datadir: path.resolve(defaultPath, './data'),
exec: path.resolve(__dirname, '../../bin/bitcoind')
spawn: {
datadir: path.resolve(defaultPath, './data'),
exec: path.resolve(__dirname, '../../bin/bitcoind')
}
}
}
};