Files
RASCSI/docker/web/web_start_wrapper.sh
Daniel Markstedt f31c56c1a4 remove obsolete Python code, move to Go client in containers
the three Go clients have now superseded the legacy Python clients,
so we now remove that code entirely, while rewriting the test
containers to use the Go web client instead
2026-08-03 07:52:21 +02:00

11 lines
344 B
Bash

#!/usr/bin/env sh
set -eu
# The Docker environment is for local development. It uses a throwaway session
# key unless the caller provides SESSION_KEY or SESSION_KEY_FILE explicitly.
if [ -z "${SESSION_KEY_FILE+x}" ] && [ -z "${SESSION_KEY:-}" ]; then
export SESSION_KEY="$(openssl rand -base64 48)"
fi
exec /usr/local/bin/piscsi-web "$@"