fablabbcn/fablabs

View on GitHub
entrypoint.sh

Summary

Maintainability
Test Coverage
#!/bin/bash
set -e

# Remove a potentially pre-existing server.pid for Rails.
rm -f /fablabs/tmp/pids/server.pid

# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"