Skip to content

Commit

Permalink
ping: Add ping URL
Browse files Browse the repository at this point in the history
  • Loading branch information
darktohka committed Mar 23, 2024
1 parent 9d1c298 commit 9098d49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/bin/sh
set -e

# Import our GPG key
gpg --import gpg.key

# Run the actual program
python -m kernelcollector.main

# Ping the URL if it is set
if [[ -n "$PING_URL" ]]; then
curl -m 10 --retry 5 "$PING_URL"
fi

0 comments on commit 9098d49

Please sign in to comment.