Page MenuHomeDevCentral

D2902.id7397.diff
No OneTemporary

D2902.id7397.diff

diff --git a/roles/paas-docker/wrappers/files/geoipupdate.sh b/roles/paas-docker/wrappers/files/geoipupdate.sh
--- a/roles/paas-docker/wrappers/files/geoipupdate.sh
+++ b/roles/paas-docker/wrappers/files/geoipupdate.sh
@@ -15,6 +15,8 @@
# 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)
@@ -25,3 +27,5 @@
-e GEOIPUPDATE_PRESERVE_FILE_TIMES=1 \
-v /srv/geoip:/usr/share/GeoIP \
maxmindinc/geoipupdate
+
+rm /srv/geoip/.geoipupdate.lock

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 17:40 (19 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248753
Default Alt Text
D2902.id7397.diff (664 B)

Event Timeline