ssh fixes
This commit is contained in:
parent
4fea7fa1dc
commit
a4e48209b6
2
index.js
2
index.js
|
@ -74,7 +74,7 @@ async function updateProxy() {
|
||||||
await sshClient.connect(Object.assign({host}, conf.rproxy.auth));
|
await sshClient.connect(Object.assign({host}, conf.rproxy.auth));
|
||||||
await sshClient.putFiles([files]);
|
await sshClient.putFiles([files]);
|
||||||
if (conf.rproxy.reloadCmd)
|
if (conf.rproxy.reloadCmd)
|
||||||
await ssh.exec(conf.rproxy.reloadCmd);
|
await sshClient.exec(conf.rproxy.reloadCmd);
|
||||||
await sshClient.dispose();
|
await sshClient.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue