Handle SIGTERM for the docker containers + relay (#1735)

* Handle SIGTERM for some docker containers

* Implement SIGTERM handling for the relay
This commit is contained in:
Serban Iorga
2022-12-28 15:47:09 +02:00
committed by Bastian Köcher
parent e47f1e42e0
commit 9495e1cfcb
3 changed files with 37 additions and 6 deletions
+1 -4
View File
@@ -24,8 +24,5 @@ mod cli;
fn main() {
let command = cli::parse_args();
let run = command.run();
let result = async_std::task::block_on(run);
if let Err(error) = result {
log::error!(target: "bridge", "substrate-relay: {}", error);
}
async_std::task::block_on(run);
}