jelmer / xandikos

A CalDAV/CardDAV server backed by Git
https://www.xandikos.org/
GNU General Public License v3.0
410 stars 42 forks source link

listening on default address as well as systemd sockets #260

Closed schnusch closed 1 year ago

schnusch commented 1 year ago

https://github.com/jelmer/xandikos/blob/c4f1953601a179996f3152fb63e6851315518865/xandikos/web.py#L1544-L1549

I think if socket_path: should be elif socket_path:, so the TCPSite is not added with listen_address=None and listen_port=None, which uses aiohttp's default host and port.

jelmer commented 1 year ago

Happy to accept a PR that does that