X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/771aee8cd80f9dc5303331053e9b08a901a620e0..3df560ea388ecd2f2dfdb0b6d45a46fc75aed73f:/docs/admin/Update.md diff --git a/docs/admin/Update.md b/docs/admin/Update.md index 9d224b9e..49a4c4bf 100644 --- a/docs/admin/Update.md +++ b/docs/admin/Update.md @@ -70,7 +70,7 @@ The update application keeps running forever and retrieves and applies new updates from the server as they are published. You can run this command as a simple systemd service. Create a service -description like that in `/etc/systemd/system/nominatim-update.service`: +description like that in `/etc/systemd/system/nominatim-updates.service`: ``` [Unit] @@ -122,14 +122,14 @@ cd /srv/nominatim while true; do nominatim replication --once - if [ -f "/srv/nominatim/schedule-mainenance" ]; then - rm /srv/nominatim/schedule-mainenance + if [ -f "/srv/nominatim/schedule-maintenance" ]; then + rm /srv/nominatim/schedule-maintenance nominatim refresh --postcodes fi done ``` -A cron job then creates the file `/srv/nominatim/need-mainenance` once per night. +A cron job then creates the file `/srv/nominatim/schedule-maintenance` once per night. #### Catch-up mode