ЛР 5: RabbitMQ, асинхронные миниатюры и отказы — на 3
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
case "${TARGET_INSTANCE_ID:-}" in
|
||||
api1|api2) ;;
|
||||
*) echo 'TARGET_INSTANCE_ID must be api1 or api2' >&2; exit 2 ;;
|
||||
esac
|
||||
. "$(dirname "$0")/lab-containers.sh"
|
||||
id=$(container "$TARGET_INSTANCE_ID")
|
||||
docker stop --time 4 "$id"
|
||||
Reference in New Issue
Block a user