2021-11-19 01:44:30 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-12-20 03:40:39 -08:00
|
|
|
# Write the contents of env variable named by $1
|
|
|
|
printf '%s\n' "${!1}" > config.toml
|
|
|
|
|
2021-11-19 01:44:30 -08:00
|
|
|
echo "$TLS_CA" > ca.pem
|
|
|
|
echo "$TLS_CLIENT" > client.pem
|
|
|
|
|
|
|
|
while true
|
|
|
|
do
|
|
|
|
target/release/solana-accountsdb-connector-mango config.toml
|
|
|
|
sleep 5
|
|
|
|
done
|