fix datadirs in lamassu-coins
This commit is contained in:
parent
613a5fb450
commit
996a38c2dc
5 changed files with 5 additions and 15 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const coinUtils = require('../coin-utils')
|
||||
const options = require('../options')
|
||||
|
||||
const common = require('./common')
|
||||
|
||||
|
|
@ -8,7 +7,6 @@ module.exports = {setup}
|
|||
function setup (dataDir) {
|
||||
const coinRec = coinUtils.getCryptoCurrency('ETH')
|
||||
common.firewall([coinRec.defaultPort])
|
||||
const blockchainDir = options.blockchainDir
|
||||
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${blockchainDir}" --cache 500`
|
||||
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --cache 500`
|
||||
common.writeSupervisorConfig(coinRec, cmd)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue