bitcoind: spawn in default configs
This commit is contained in:
parent
1013ad3c56
commit
d11d0300de
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user