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]
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