move hosts and cert update to run

This commit is contained in:
Cory Forsstrom
2020-02-26 17:34:44 -08:00
parent cb4cdee360
commit 2d5b7ab7d2
4 changed files with 28 additions and 12 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
@@ -33,4 +41,4 @@ else
xteve -port=34400 -config=/root/.xteve/
fi
exit
exit