Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/paas-docker/wrappers/files/geoipupdate.sh b/roles/paas-docker/wrappers/files/geoipupdate.sh
index 63ea332..9c6998a 100755
--- a/roles/paas-docker/wrappers/files/geoipupdate.sh
+++ b/roles/paas-docker/wrappers/files/geoipupdate.sh
@@ -1,27 +1,31 @@
#!/bin/sh
# -------------------------------------------------------------
# PaaS Docker
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/paas-docker/wrappers/files/geoipupdate.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
+touch /srv/geoip/.geoipupdate.lock
+
GEOIPUPDATE_ACCOUNT_ID=$(credential nasqueron/sentry/geoipupdate username)
GEOIPUPDATE_LICENSE_KEY=$(credential nasqueron/sentry/geoipupdate)
docker run --rm \
-e GEOIPUPDATE_ACCOUNT_ID="$GEOIPUPDATE_ACCOUNT_ID" \
-e GEOIPUPDATE_LICENSE_KEY="$GEOIPUPDATE_LICENSE_KEY" \
-e GEOIPUPDATE_EDITION_IDS="GeoLite2-ASN GeoLite2-City GeoLite2-Country" \
-e GEOIPUPDATE_PRESERVE_FILE_TIMES=1 \
-v /srv/geoip:/usr/share/GeoIP \
maxmindinc/geoipupdate
+
+rm /srv/geoip/.geoipupdate.lock

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jul 4, 05:22 (4 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3883317
Default Alt Text
(1 KB)

Event Timeline