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'], services: ['bitcoind', 'web'],
servicesConfig: { servicesConfig: {
bitcoind: { bitcoind: {
datadir: options.datadir || path.resolve(process.env.HOME, '.bitcoin'), spawn: {
exec: path.resolve(__dirname, '../../bin/bitcoind') 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, services: defaultServices,
servicesConfig: { servicesConfig: {
bitcoind: { bitcoind: {
datadir: path.resolve(defaultPath, './data'), spawn: {
exec: path.resolve(__dirname, '../../bin/bitcoind') datadir: path.resolve(defaultPath, './data'),
exec: path.resolve(__dirname, '../../bin/bitcoind')
}
} }
} }
}; };