HomeDevCentral

Handle .geoipupdate lock file

Description

Handle .geoipupdate lock file

Summary:
The geoipupdate client creates a lockfile to avoid race conditions.

Drawbacks of the current method is:

  • no lock file created at first run
  • can be confusing to see it afterwards

To address both those concerns, the wrapper creates and deletes
this lock file before and after the container run.

Reference: https://github.com/maxmind/geoipupdate-legacy/issues/79

Test Plan: Tested on docker-002

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D2902

Details

Provenance
derecksonAuthored on Mar 16 2023, 19:12
derecksonPushed on Mar 16 2023, 19:15
Reviewer
dereckson
Differential Revision
D2902: Handle .geoipupdate lock file
Parents
rOPS642bf17d707f: Deploy Relay for SDK development on Dwellers
Branches
Unknown
Tags
Unknown