optimized script
This commit is contained in:
@@ -55,7 +55,7 @@ export class TunnelsService {
|
||||
`Начинаем установку редиректа на ${tunnel.ip} -> ${mainServerIp}`,
|
||||
);
|
||||
|
||||
const command = `export ORIGIN_IP="${mainServerIp}" && bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)`;
|
||||
const command = `sudo ORIGIN_IP="${mainServerIp}" bash -c "$(curl -sSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)"`;
|
||||
|
||||
try {
|
||||
const output = await this.sshService.executeCommand(
|
||||
|
||||
Reference in New Issue
Block a user