From ba386d4b2cbe98c4b66ca02273d591ad1fc05e46 Mon Sep 17 00:00:00 2001 From: Mathias Gug Date: Wed, 18 May 2016 10:56:25 -0700 Subject: [PATCH] Document environment variable. --- docs/http.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/http.md b/docs/http.md index e7e02ae70..fd4f18fcf 100644 --- a/docs/http.md +++ b/docs/http.md @@ -1,3 +1,12 @@ +## Environent Variables + +### SIGNAL_PARENT_WHEN_READY + +If the SIGNAL_PARENT_WHEN_READY environment variable is set osrm-routed will +send the USR1 signal to its parent when it will be running and waiting for +requests. This could be used to upgrade osrm-routed to a new binary on the fly +without any service downtime - no incoming requests will be lost. + ## HTTP API `osrm-routed` supports only `GET` requests of the form. If you your response size