added curl with loop
This commit is contained in:
15
curl/docker-entrypoint.sh
Normal file
15
curl/docker-entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ ! -z "${LOOP}"]]; then
|
||||
while :
|
||||
do
|
||||
curl "$@"
|
||||
sleep "${LOOP}"
|
||||
done
|
||||
else
|
||||
curl "$@"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user