mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
3e07975584
- https://community.openproject.org/work_packages/41480 - amend strategy for doorkeeper to react on all bearer tokens - added ouath request spec for valid, invalid and revoked token
19 lines
334 B
Bash
Executable File
19 lines
334 B
Bash
Executable File
#!/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 "$@"
|