Sha256: 74076205f38db785ae0f433b60f32d8077ed88469582c6d29bf62edaffbaa48e

Contents?: true

Size: 269 Bytes

Versions: 10

Compression:

Stored size: 269 Bytes

Contents

#!/bin/sh
set -u
id owner >/dev/null 2>&1 || useradd -u ${HOST_UID} -m -o owner
mkdir -p /app/tmp/pids
chown -Rf owner:owner /app/tmp /app/log /app/db
rm -f /app/tmp/pids/unicorn.pid
mkdir -p /var/www/public/
ln -nfs /app/public/* /var/www/public/
exec gosu owner "$@"

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
orchestration-0.3.17 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.16 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.15 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.14 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.13 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.12 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.11 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.10 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.9 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.8 lib/orchestration/templates/entrypoint.sh.erb