mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 01:04:14 +00:00
65cfefaa3c
These are some changes to the relay pool server, upgrade server, and crash receiver to run under Kubernetes. It's been in production for a while.
11 lines
226 B
Bash
Executable File
11 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
if [ "$MAXMIND_KEY" != "" ] ; then
|
|
curl "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${MAXMIND_KEY}&suffix=tar.gz" \
|
|
| tar --strip-components 1 -zxv
|
|
fi
|
|
|
|
exec "$@"
|