removed debug
This commit is contained in:
parent
86348df457
commit
ccfc9a8d03
@ -3,7 +3,6 @@ MAINTAINER Zammad <info@zammad.org>
|
|||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|
||||||
ENV ZAMMAD_DIR /home/zammad
|
ENV ZAMMAD_DIR /home/zammad
|
||||||
ENV ZAMMAD_DEBUG no
|
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
ENV RAILS_SERVER puma
|
ENV RAILS_SERVER puma
|
||||||
ENV GIT_URL https://github.com/zammad/zammad.git
|
ENV GIT_URL https://github.com/zammad/zammad.git
|
||||||
|
@ -30,12 +30,4 @@ if [ "$1" = 'zammad' ]; then
|
|||||||
bundle exec unicorn -p 3000 -c config/unicorn.rb -E ${RAILS_ENV}
|
bundle exec unicorn -p 3000 -c config/unicorn.rb -E ${RAILS_ENV}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZAMMAD_DEBUG}" == "yes" ]; then
|
|
||||||
# keepalive if error
|
|
||||||
while true; do
|
|
||||||
echo "debugging..."
|
|
||||||
sleep 600
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user