Skip to content

Commit

Permalink
✏️ Fix Healthcheck URL
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui committed Sep 20, 2024
1 parent 9fdb356 commit aa553e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 8.3-nextcloud/cron/cron_preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if [ -d /var/www/apps/previewgenerator ]; then
if [ -z "${HEALTHCHECKS_PREVIEW_URL}" ]; then
php -f /var/www/occ preview:pre-generate
else
curl -fsS -m 10 --retry 5 -o /dev/null ${HEALTHCHECKS_NC_URL}/start && \
curl -fsS -m 10 --retry 5 -o /dev/null ${HEALTHCHECKS_PREVIEW_URL}/start && \
php -f /var/www/occ preview:pre-generate && \
curl -fsS -m 10 --retry 5 -o /dev/null ${HEALTHCHECKS_NC_URL}
curl -fsS -m 10 --retry 5 -o /dev/null ${HEALTHCHECKS_PREVIEW_URL}
fi
fi

0 comments on commit aa553e3

Please sign in to comment.