mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
openfire service: more informative assertion failure message
Explain why the assertion fails; the user already knows that it *has* failed.
This commit is contained in:
parent
2a4902dd80
commit
4697f83984
@ -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…
Reference in New Issue
Block a user