Clear redis cache after server restart, not before.

This commit is contained in:
2016-08-26 15:59:12 +02:00
parent 4267f313ab
commit cd07e5c708

View File

@@ -62,7 +62,6 @@ ${SSH} -t docker exec ${DOCKER_NAME} /data/venv/bin/pip install -U -r ${REMOTE_R
# RSync the world
./rsync_ui.sh
${SSH} docker exec redis redis-cli DEL pwview//
# Notify Bugsnag of this new deploy.
echo
@@ -82,6 +81,11 @@ read dummy
${SSH} docker exec ${DOCKER_NAME} apache2ctl graceful
echo "Server process restarted"
echo
echo "==================================================================="
echo "Clearing front page from Redis cache."
${SSH} docker exec redis redis-cli DEL pwview//
echo
echo "==================================================================="
echo "Deploy of ${PROJECT_NAME} is done."