[Tile-serving] osm2pgsql-replication?
Stephan Knauss
osm at stephans-server.de
Mon Aug 30 22:29:41 UTC 2021
On 30.08.2021 17:22, Lynn W. Deffenbaugh (Mr) wrote:
> Has anyone put a cron-safe wrapper around the new osm2pgsql-replication
> script for keeping a tile server's database current?
if you have a recent system, then chances are high that you are using
systemd as init. In this case you could simply run the script from a
timer, instead of cron. This gives you the desired behavior for free.
Systemd will ensure that only a single instance is running at a time.
> And maybe a question that should have come first: Is there any reason
> to switch away from a working openstreetmap-tiles-update-expire
> implementation? Does osm2pgsql-replication have anything really good to
> offer?
If you have a working setup, you can stick with it. If you set up a new
server, you might want to use the script.
In case of partial updates, you might need to check your specific
use-case. Mine was not covered well.
Stephan
More information about the Tile-serving
mailing list