Overpass-API
Overpass-API copied to clipboard
Recommended way to stop the area building process ?
When stopping overpass services, the osm3s_query for the area creation loop would benefit from having a proper shutdown procedure.
What is the recommended shutdown / server reboot procedure?
Something like this?
- Run a
kill $PID
for each process - Shut down the server
- Start the server
- Run these commands to get things operating again (assuming the database exists in
db
):-
nohup bin/dispatcher --osm-base --meta --db-dir="db/" &
-
nohup bin/fetch_osc.sh START_ID "http://planet.openstreetmap.org/replication/minute/" "diffs/" &
-
nohup bin/apply_osc_to_db.sh "diffs/" START_ID --meta=yes &
-
nohup bin/dispatcher --areas --db-dir="db/" &
-
nohup bin/rules_loop.sh "db" &
-
Something else?