Closed tahini closed 9 months ago
Shouldn't we add the host to the restart call a bit after this?
No, the host here is used locally for the mode registry, but is not used for the osrm-routed's host parameter (-i), so it is not required in the start/restart commands.
ok, yeah I see. Please add a bit of comments to explain why we need the hostname even when we use the autostart.
It's in the commit message, but I added it in the code too
fixes #821
This uses the value set in the mode config's host field even for local servers. This allows to specify a specific URL on which to join the server, for example an ipv4 url where 'localhost' would have resolved to an ipv6 url, or simply a named URL for the local server.