Why not ask your question on the new OpenStreetMap Community Forum?

Subject says it all. The update method mentioned in the docs, ./utils/update.php --import-osmosis-all seems to be designed to be a forked process as it will keep running after an update until the sleep timeout then do it again. How can I convert this into a Systemd service?

Similarly, if I'm using Cron, do I just have it run ./utils/update.php --import-osmosis no more often than the update interval specified in settings/local.php? Is there a way to disable its built-in sleep so it just checks immediately? (This is how cron jobs seem to be intended to work, as cron handles the sleeping/scheduling.)

--check-for-updates returns immediately, but does it only do a check or will it download updates if there are any?

asked 01 Aug '20, 02:02

RenegadeTech's gravatar image

accept rate: 0%

edited 02 Aug '20, 01:36

I'm guessing you're talking about nominatim here?

(01 Aug '20, 02:07) SomeoneElse ♦

Oops, yes, sorry. Fixed.

(01 Aug '20, 02:45) RenegadeTech
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 01 Aug '20, 02:02

question was seen: 683 times

last updated: 02 Aug '20, 01:36

powered by OSQA