We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc343a commit a65e97eCopy full SHA for a65e97e
1 file changed
nixos/modules/services/security/kanidm.nix
@@ -83,7 +83,9 @@ let
83
defaultServiceConfig = {
84
# Setting the type to notify enables additional healthchecks, ensuring units
85
# after and requiring kanidm-* wait for it to complete startup
86
- Type = "notify";
+ Type =
87
+ # notify-reload adds service reloading support.
88
+ if lib.versionAtLeast (lib.getVersion cfg.package) "1.6.0" then "notify-reload" else "notify";
89
BindReadOnlyPaths = [
90
"/nix/store"
91
# For healthcheck notifications
0 commit comments