From 60a66c5d60361644f4aebf8384aa318cc7537cd5 Mon Sep 17 00:00:00 2001 From: Joe Payton <48453264+JAP42@users.noreply.github.com> Date: Mon, 1 Jul 2019 23:19:21 -0400 Subject: [PATCH 1/2] Update docker-entrypoint.sh Added removal of /tmp/postal to remove abandoned PID files --- alpine/src/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/src/docker-entrypoint.sh b/alpine/src/docker-entrypoint.sh index cbeeb60..e866ed0 100755 --- a/alpine/src/docker-entrypoint.sh +++ b/alpine/src/docker-entrypoint.sh @@ -14,7 +14,7 @@ cat /opt/postal/config/postal.yml ## Clean Up rm -rf /opt/postal/tmp/pids/* - +rm -rf /tmp/postal ## Wait for MySQL to start up echo "== Waiting for MySQL to start up ==" while ! mysqladmin ping -h mysql --silent; do From 3e7a346fc32bf9364e450e01ab1e815f58c12e9a Mon Sep 17 00:00:00 2001 From: Joe Payton <48453264+JAP42@users.noreply.github.com> Date: Mon, 1 Jul 2019 23:20:05 -0400 Subject: [PATCH 2/2] Update docker-entrypoint.sh --- ubuntu/src/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/src/docker-entrypoint.sh b/ubuntu/src/docker-entrypoint.sh index cbeeb60..e866ed0 100755 --- a/ubuntu/src/docker-entrypoint.sh +++ b/ubuntu/src/docker-entrypoint.sh @@ -14,7 +14,7 @@ cat /opt/postal/config/postal.yml ## Clean Up rm -rf /opt/postal/tmp/pids/* - +rm -rf /tmp/postal ## Wait for MySQL to start up echo "== Waiting for MySQL to start up ==" while ! mysqladmin ping -h mysql --silent; do