refactor migration

This commit is contained in:
Josh Harvey 2017-07-19 16:14:45 +02:00
parent 272405b4b1
commit 916a3629a8
7 changed files with 84 additions and 58 deletions

View file

@ -7,6 +7,6 @@ module.exports = {setup}
function setup (dataDir) {
const coinRec = coinUtils.getCryptoCurrency('ETH')
common.firewall([coinRec.defaultPort])
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --cache 500`
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --cache 500 --rpc`
common.writeSupervisorConfig(coinRec, cmd)
}