docker/rootfs/etc/cont-init.d/20-init-zealot
#!/usr/bin/with-contenv sh
cd /app
# Clear pid if unexpected exception exit
rm -f tmp/pids/.pid
mkdir -p tmp/pids tmp/cache tmp/uploads tmp/sockets log
echo "!!!!!!!!!!!! BREAKING CHANGES !!!!!!!!!!!!"
echo "Zealot removes -> redis <- dependency, refactors backup feature completely."
echo "If you have any problems with running, please refer to: https://github.com/tryzealot/zealot/pull/1318"
echo "!!!!!!!!!!!! BREAKING CHANGES !!!!!!!!!!!!"
if [ -n "$REDIS_URL" ]; then
echo
case $REDIS_URL in
*redis:*|localhost:*|127.0.0.1:*)
echo "-> Detected REDIS_URL and redis service, you can remove redis service and the variable."
;;
*)
echo "-> Detected REDIS_URL variable, you can remove the variable."
;;
esac
fi