1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-22 22:32:19 +01:00
pywb/docker-entrypoint.sh
2025-03-10 07:33:27 +01:00

10 lines
214 B
Bash
Executable File

#!/bin/sh
set -e
if [ -n "$INIT_COLLECTION" ] && [ ! -d "$VOLUME_DIR/collections/$INIT_COLLECTION" ]; then
wb-manager init "$INIT_COLLECTION" || echo "Warning: Could not initialize collection."
fi
exec "$@"