mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 04:42:02 -05:00
10 lines
142 B
Bash
10 lines
142 B
Bash
#!/bin/bash
|
|
FILE=/tmp/curl_done
|
|
|
|
if [ -f $FILE ]
|
|
then
|
|
echo "File $FILE exists..."
|
|
else
|
|
curl --retry 5 localhost
|
|
touch /tmp/curl_done
|
|
fi
|