From 97f2d5f7efc03b90651e68790b70b1c1ce4acd28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Mon, 9 Jan 2017 19:57:16 +0100 Subject: [PATCH] changed delete pid & log cmd --- docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a05a688..5a9ce78 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -15,8 +15,8 @@ if [ "$1" = 'zammad' ]; then fi # delete logs & pids - rm ${ZAMMAD_DIR}/log/*.log - rm ${ZAMMAD_DIR}/tmp/pids/*.pid + find ${ZAMMAD_DIR}/log -iname *.pid -exec rm {} \; + find ${ZAMMAD_DIR}/tmp/pids -iname *.pid -exec rm {} \; # run zammad echo "starting zammad..."