update deploy to run two vulcanizedb service in parallel

This commit is contained in:
Taka Goto 2018-09-19 11:59:24 -05:00
parent 4b2f5f8524
commit 10b861b2a1

View File

@ -47,7 +47,7 @@ commands:
cp -r . /usr/local/vulcanizedb cp -r . /usr/local/vulcanizedb
lightSync: lightSync:
desc: start vdb light sync desc: start vdb light sync
run: systemctl daemon-reload && sudo systemctl restart vulcanizedb.service run: systemctl daemon-reload && sudo systemctl restart vulcanizedb_light_sync.service && sudo systemctl restart vulcanizedb_log_sync.service
postgraphile: postgraphile:
desc: start postgraphile desc: start postgraphile
run: systemctl daemon-reload && sudo systemctl restart postgraphile.service run: systemctl daemon-reload && sudo systemctl restart postgraphile.service