openfire service: more informative assertion failure message

Explain why the assertion fails; the user already knows that it *has*
failed.
wip/yesman
Joachim Fasting 8 years ago
parent 2a4902dd80
commit 4697f83984
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08
  1. 2
      nixos/modules/services/networking/openfire.nix

@ -34,7 +34,7 @@ with lib;
assertions = singleton
{ assertion = !(config.services.openfire.usePostgreSQL -> config.services.postgresql.enable);
message = "OpenFire assertion failed.";
message = "OpenFire configured to use PostgreSQL but services.postgresql.enable is not enabled.";
};
systemd.services.openfire = {

Loading…
Cancel
Save