deprecate cacheSize flag and remove docs

this flag was never actually doing what I thought it was in the first
place.

Also fix up a few instances of cacheDir still be used in config files

fixes #45
This commit is contained in:
Will Norris 2015-12-07 20:56:56 -08:00
parent 355a00f7b6
commit 810ecedd69
4 changed files with 11 additions and 12 deletions

View file

@ -27,8 +27,7 @@ case "$1" in
. /etc/default/imageproxy
test -n "$ADDR" && DAEMON_OPTS+=" -addr=$ADDR"
test -n "$CACHE_DIR" && DAEMON_OPTS+=" -cacheDir=$CACHE_DIR"
test -n "$CACHE_SIZE" && DAEMON_OPTS+=" -cacheSize=$CACHE_SIZE"
test -n "$CACHE" && DAEMON_OPTS+=" -cache=$CACHE"
test -n "$LOG_DIR" && DAEMON_OPTS+=" -log_dir=$LOG_DIR"
test -n "$ALLOWED_REMOTE_HOSTS" && DAEMON_OPTS+=" -whitelist=$ALLOWED_REMOTE_HOSTS"