Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

334 B
Raw Blame
#!/bin/sh

set -e
set -u

mkdir -p public/assets
mkdir -p tmp/cache

chown -R "$USER:$USER" public/assets
chown -R "$USER:$USER" tmp/cache

echo 'Waiting for the Grid...'
while ! curl -sSL "${SELENIUM_GRID_URL}/status" 2>&1 \
        | jq -r '.value.ready' 2>&1 | grep "true" > /dev/null; do
    sleep 1
done

exec su "$USER" -c "$@"