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