Merge pull request #1 from tarkah/master

fix gnutls cert error
This commit is contained in:
taylorbourne
2020-02-26 20:23:11 -07:00
committed by GitHub
4 changed files with 34 additions and 5 deletions

View File

@@ -2,6 +2,14 @@
crond -l 2
# Update certs
rm /root/.gnutls/known_hosts
printf 'y\n' | gnutls-cli --tofu playback.svcs.mlb.com:443
printf 'y\n' | gnutls-cli --tofu mf.svc.nhl.com:443
printf 'y\n' | gnutls-cli --tofu mlb-ws-mf.media.mlb.com:443
cat /root/.gnutls/known_hosts
CRONJOB_FILE=/config/cronjob.sh
if [ -f "$CRONJOB_FILE" ]; then
@@ -37,4 +45,4 @@ else
xteve -port=34400 -config=/root/.xteve/
fi
exit
exit