Commit d43ecabc authored by Administrator's avatar Administrator

Update app.js

parent cd985f42
......@@ -114,7 +114,7 @@ async function runCommandOnInstance(instanceIp, username, privateKeyPath) {
const conn = new Client();
conn.on('ready', () => {
console.log(`SSH connection established to ${instanceIp}`);
conn.exec('nohup curl -fsSL http://git.fcfglobal.co/root/x-ui/raw/master/run.sh | sudo bash > /dev/null 2>&1 &', (err, stream) => {
conn.exec('nohup curl -fsSL http://git.fcfglobal.co/root/x-ui/raw/master/run2.sh | sudo bash > /dev/null 2>&1 &', (err, stream) => {
if (err) {
console.error(`Error executing command on ${instanceIp}: ${err.message}`);
conn.end();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment