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, 02:02

RenegadeTech's gravatar image

RenegadeTech
463
accept rate: 0%

edited 02 Aug, 01:36

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

(01 Aug, 02:07) SomeoneElse ♦

Oops, yes, sorry. Fixed.

(01 Aug, 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

By RSS:

Answers

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:

×603
×177
×29

question asked: 01 Aug, 02:02

question was seen: 53 times

last updated: 02 Aug, 01:36

powered by OSQA