[Tile-serving] [openstreetmap/mod_tile] Prevent duplicate `renderd` sections in `renderd.conf` (PR #421)

Hummeltech notifications at github.com
Sun Mar 24 19:36:27 UTC 2024


In order to remove any confusion if the user has duplicate `renderd` sections in their `renderd.conf` file.

Currently with a configuration like this one:
```ini
[renderd]
pid_file=/run/renderd/renderd.pid
socketname=/run/renderd/renderd.sock
stats_file=/run/renderd/renderd.stats
tile_dir=/var/cache/renderd/tiles

[renderd0]
pid_file=/run/renderd/renderd0.pid
socketname=/run/renderd/renderd0.sock
stats_file=/run/renderd/renderd0.stats
tile_dir=/var/cache/renderd/tiles
```
only the second `renderd` section (`renderd0`) will actually be used.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/421

-- Commit Summary --

  * Prevent duplicate renderd sections

-- File Changes --

    M src/renderd_config.c (5)
    M tests/renderd_config_test.cpp (22)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/421.patch
https://github.com/openstreetmap/mod_tile/pull/421.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/421
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/421 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240324/81696654/attachment.htm>


More information about the Tile-serving mailing list