Sha256: 59c1eb3cb503369225d25b186f2acba4a9ee97194b9934d669a86efc94721c52

Contents?: true

Size: 268 Bytes

Versions: 8

Compression:

Stored size: 268 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 -R 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

8 entries across 8 versions & 1 rubygems

Version Path
orchestration-0.3.7 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.6 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.5 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.4 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.3 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.2 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.1 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.3.0 lib/orchestration/templates/entrypoint.sh.erb