support installing with existing volumes and droplets
This commit is contained in:
parent
ab6f23351d
commit
10b635185d
6 changed files with 23 additions and 12 deletions
|
|
@ -1,4 +1,3 @@
|
|||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const coinUtils = require('../coin-utils')
|
||||
|
|
@ -20,7 +19,7 @@ function setup (dataDir) {
|
|||
es('zcash-fetch-params 2>&1')
|
||||
logger.info('Finished fetching proofs.')
|
||||
const config = buildConfig()
|
||||
fs.writeFileSync(path.resolve(dataDir, 'zcash.conf'), config)
|
||||
common.writeFile(path.resolve(dataDir, coinRec.configFile), config)
|
||||
const cmd = `/usr/local/bin/${coinRec.daemon} -datadir=${dataDir}`
|
||||
common.writeSupervisorConfig(coinRec, cmd)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue