A free, self-hostable news aggregator…
Fix Docker FRESHRSS_ENV for cron (#2963)
Alexandre Alapetitedf9c0ae6f1ba
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.shindex 02338c35e..63126aa25 100755--- a/Docker/entrypoint.sh+++ b/Docker/entrypoint.sh@@ -14,6 +14,7 @@ if [ -n "$CRON_MIN" ]; thenecho "export TZ=$TZ"echo "export COPY_LOG_TO_SYSLOG=$COPY_LOG_TO_SYSLOG"echo "export COPY_SYSLOG_TO_STDERR=$COPY_SYSLOG_TO_STDERR"+ echo "export FRESHRSS_ENV=$FRESHRSS_ENV") >/var/www/FreshRSS/Docker/env.txtcrontab -l | sed -r "\\#FreshRSS#s#^[^ ]+ #$CRON_MIN #" | crontab -fi