Unverified Commit 8f4bc44f authored by Flakebi's avatar Flakebi
Browse files

nixos/radicale: Allow AF_UNIX for systemd log

radicale tries to connect to the systemd unix socket for logging. This
currently fails because it is not allowed to open sockets, then it falls
back to logging to stdout (printing a warning).

Allow radical to open unix sockets to fix this. This gives slightly
better logging experience (e.g. errors are marked red when sent through
the systemd log socket).
parent 9abb87b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ in
        RestrictAddressFamilies = [
          "AF_INET"
          "AF_INET6"
          "AF_UNIX" # To log with systemd
        ];
        RestrictNamespaces = true;
        RestrictRealtime = true;