Sha256: 3ef76dcf04f2ace8fc470e0b33d0e89dab23b80a9f615e3059ca8f8fcdc362be

Contents?: true

Size: 243 Bytes

Versions: 2

Compression:

Stored size: 243 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
orchestration-0.2.8 lib/orchestration/templates/entrypoint.sh.erb
orchestration-0.2.7 lib/orchestration/templates/entrypoint.sh.erb