Выполнить лабораторную 7 по безопасности мессенджера
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
. /run/s3/env
|
||||
export DATABASE_URL="$(cat /run/operator/database_url)"
|
||||
export S3_ACCESS_KEY_ID="$RUSTFS_ACCESS_KEY"
|
||||
export S3_SECRET_ACCESS_KEY="$RUSTFS_SECRET_KEY"
|
||||
case "${1:-}" in
|
||||
cleanup_staging|replay_failed|reprocess_pipeline) script=$1; shift ;;
|
||||
*) echo "Use cleanup_staging, replay_failed or reprocess_pipeline" >&2; exit 2 ;;
|
||||
esac
|
||||
exec python "/app/scripts/$script.py" "$@"
|
||||
Reference in New Issue
Block a user