attempt data importer fix
All checks were successful
Docker Build CI / build (lighttpd) (push) Successful in 3s
Docker Build CI / build (qbittorrent-natpmp) (push) Successful in 4s
Docker Build CI / build (xbps-builder) (push) Successful in 3s
Docker Build CI / build (xbps-repo) (push) Successful in 3s
Docker Build CI / build (firefly-data-importer) (push) Successful in 1m4s

This commit is contained in:
Luca Bilke 2025-01-27 17:49:05 +01:00
parent 11edd3e774
commit 9beb587b17
Signed by: luca
GPG key ID: F6E11C9BAA7C82F5

View file

@ -2,11 +2,12 @@
set -eu
env >> /etc/environment
export WEB_SERVER=false
env >>/etc/environment
printf "Configuring crontab: "
cat <<EOF | tee /tmp/crontab
${CRON_TIMER} WEB_SERVER=false /usr/local/bin/entrypoint.sh >/proc/1/fd/1 2>/proc/1/fd/2
${CRON_TIMER} . /etc/environment; cd /var/www/html && /usr/local/bin/entrypoint.sh >/proc/1/fd/1 2>/proc/1/fd/2
EOF
crontab /tmp/crontab
rm /tmp/crontab