maxmind / geoipupdate-legacy

GeoIP update client code
GNU General Public License v2.0
258 stars 63 forks source link

Add option to acquire lock so that only one geoipupdate may run at once #55

Closed horgh closed 7 years ago

horgh commented 7 years ago

This adds a new option, LockFile, which by default is empty. If set, it is a path to a file to open and acquire a lock on. This happens at startup and is to make it so only a single geoipupdate can run at once.