source .env if .env exists, else use env (for docker)
This commit is contained in:
parent
922f07763a
commit
f29417f9e9
@ -1,8 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
else
|
||||
echo .env file not found, using env
|
||||
fi
|
||||
|
||||
while true; do
|
||||
source .env
|
||||
|
||||
curl 'https://faisanet.mib.com.mv/aProfile/keepAlive' \
|
||||
-X 'POST' \
|
||||
|
Loading…
x
Reference in New Issue
Block a user