Skip to content

Commit a65e97e

Browse files
committed
nixos/kanidm: notify -> notify-reload
Adds systemd service reloading via the `notify-reload` service type.
1 parent 0cc343a commit a65e97e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nixos/modules/services/security/kanidm.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ let
8383
defaultServiceConfig = {
8484
# Setting the type to notify enables additional healthchecks, ensuring units
8585
# after and requiring kanidm-* wait for it to complete startup
86-
Type = "notify";
86+
Type =
87+
# notify-reload adds service reloading support.
88+
if lib.versionAtLeast (lib.getVersion cfg.package) "1.6.0" then "notify-reload" else "notify";
8789
BindReadOnlyPaths = [
8890
"/nix/store"
8991
# For healthcheck notifications

0 commit comments

Comments
 (0)