-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/xandikos: use systemd socket activation
Xandikos' handling of listening addresses is quite buggy. There were multiple bugs regarding socket activation, which caused it to also listen on unwanted default ports. Additionally the metrics port reuses the listen address. To avoid all this unexpected behaviour we run Xandikos in a private network namespace and let systemd handle our *wanted* listening adresses. Optionally the metrics are made accessible in the host's network namespace through `xandikos-metrics.service` using systemd-socket-proxyd.
- Loading branch information
Showing
3 changed files
with
125 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ python3Packages.buildPythonApplication rec { | |
jinja2 | ||
multidict | ||
pytz | ||
systemd | ||
vobject | ||
]; | ||
|
||
|