Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749730
D2902.id7396.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
664 B
Referenced Files
None
Subscribers
None
D2902.id7396.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 17:31 (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248753
Default Alt Text
D2902.id7396.diff (664 B)
Attached To
Mode
D2902: Handle .geoipupdate lock file
Attached
Detach File
Event Timeline
Log In to Comment