This repository has been archived on 2024-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
docker-wrangler-dev/scripts/start-server.sh

13 lines
288 B
Bash

#!/bin/bash
echo "---Prepare Server---"
chmod -R ${DATA_PERM} ${DATA_DIR}
if [ "${START_WRANGLER}" == "false" ]; then
echo "---Start from Wrangler disabled, putting container into sleep mode!---"
sleep infinity
fi
echo "---Starting Wrangler---"
cd ${DATA_DIR}
${WRANGLER_START_CMD}