Skip to content

Commit

Permalink
fix: reinstate carrying forward public keys
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Apr 10, 2020
1 parent a929721 commit 504a8ce
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/deployment/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,21 @@ show-config display the client connection parameters
);
});

// Install any pubkeys from a former instantiation.
await guardFile(`${CONTROLLER_DIR}/pubkeys.stamp`, () =>
needReMain([
'ssh',
'ag-pserver',
'sudo',
'-u',
'ag-pserver',
'/usr/src/app/ve3/bin/ag-pserver',
'add-pubkeys',
'-c',
'http://localhost:8000/private/repl',
]),
);

let pserverFlags = '';
const installFlags = [];
const pub = `${networkName}.crt`;
Expand Down

0 comments on commit 504a8ce

Please sign in to comment.