From 498430b291f0c6c8918df77acfafe1a9e29de90f Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 28 Sep 2022 16:53:12 +0000 Subject: [PATCH] use SIGINT for stop signal --- docker-compose.common.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.common.yml b/docker-compose.common.yml index cac4eb6d..eca7487e 100644 --- a/docker-compose.common.yml +++ b/docker-compose.common.yml @@ -5,6 +5,8 @@ services: init: true restart: unless-stopped command: --config /config.toml --workers 16 + # rust's tokio crate expects a SIGINT https://tokio.rs/tokio/topics/shutdown + stop_signal: SIGINT environment: #RUST_LOG: "info,web3_proxy=debug" RUST_LOG: info