forked from EvergreenCrypto/docker-finance
client: plugins: tor: add timeout when stoping tor container
This commit is contained in:
@@ -130,7 +130,7 @@ function tor::stop()
|
||||
return 1
|
||||
fi
|
||||
lib_utils::print_info "${tor_container}: stopping container"
|
||||
docker container stop "$tor_container" &>/dev/null \
|
||||
docker container stop -t 3 "$tor_container" &>/dev/null \
|
||||
&& lib_utils::print_info "${tor_container}: container stopped"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user