foodsoft/docker-entrypoint.sh

10 lines
170 B
Bash
Raw Normal View History

2017-02-11 12:44:49 +01:00
#!/bin/sh
set -e
2017-10-01 13:57:36 +02:00
# allow re-using the instance - https://stackoverflow.com/a/38732187/2866660
2017-02-11 12:44:49 +01:00
if [ -f tmp/pids/server.pid ]; then
rm tmp/pids/server.pid
fi
exec "$@"