apicortex / bin /run_api_testing.sh
0xarchit's picture
introduce supervisord manager
080d8a1
raw
history blame
229 Bytes
#!/bin/bash
set -euo pipefail
# Run api-testing and prefix logs with [api-testing]
exec bash -c 'set -o pipefail; BIND_ADDR=127.0.0.1:9090 /app/api-testing/api-testing 2>&1 | sed -u "s/^/[api-testing] /"; exit ${PIPESTATUS[0]}'