Addressing issue by checking for leftover pid file, and removing it if it exists

This commit is contained in:
Ian Blenke 2015-07-10 22:57:40 -04:00
parent 8b8221e174
commit 99ebeb80b8

View file

@ -6,6 +6,11 @@ cd /app
# Default to the environment variable values set in .env.example
source /app/.env.example
# Cleanup any leftover pid file
if [ -f /app/tmp/pids/server.pid ]; then
rm -f /app/tmp/pids/server.pid
fi
# is a mysql or postgresql database linked?
# requires that the mysql or postgresql containers have exposed
# port 3306 and 5432 respectively.