From 882d64ae11d693fa23e7afebdf6713d36d7c75e2 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 23 May 2023 10:55:49 +0200 Subject: [PATCH] Add deprecation note for ENABLE_PERIODIC_VISIT_LOCATE env var --- docker/docker-entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 0eb4b718..a2daec3d 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -13,6 +13,7 @@ fi php vendor/bin/shlink-installer init ${flags} # Periodically run visit:locate every hour, if ENABLE_PERIODIC_VISIT_LOCATE=true was provided and running as root +# ENABLE_PERIODIC_VISIT_LOCATE is deprecated. Remove cron support in Shlink 4.0.0 if [ "${ENABLE_PERIODIC_VISIT_LOCATE}" = "true" ] && [ "${SHLINK_USER_ID}" = "root" ]; then echo "Configuring periodic visit location..." echo "0 * * * * php /etc/shlink/bin/cli visit:locate -q" > /etc/crontabs/root