Use nohup to update domain

This commit is contained in:
nicolas.dorier
2018-07-24 23:56:41 +09:00
parent 4f7bfbf451
commit 0edbbe6ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ namespace BTCPayServer.Controllers
}
}
var error = RunSSH(vm, command, $"sudo bash -c '. /etc/profile.d/btcpay-env.sh && nohup . changedomain.sh {vm.DNSDomain} &'");
var error = RunSSH(vm, command, $"sudo bash -c '. /etc/profile.d/btcpay-env.sh && nohup changedomain.sh {vm.DNSDomain} &'");
if (error != null)
return error;