Skip to content

Commit

Permalink
Check if pubsub is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Oct 21, 2024
1 parent ddfa8f0 commit b197bb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/openshift/crons/pubsub.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

if [ -z "$DRUPAL_PUBSUB_VAULT" ]; then
echo "PubSub is not configured, exiting."
exit 0
fi

echo "Running PubSub daemon: $(date +'%Y-%m-%dT%H:%M:%S%:z')"

while true
Expand Down

0 comments on commit b197bb3

Please sign in to comment.