diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-10 15:39:25 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-12-10 20:35:43 +0100 |
commit | 4697f83984f0f1e3b58267fcef3b15b7ce60901b (patch) | |
tree | 10d02b4bd213f419e4e5467ad4ed1abcc549e4a5 | |
parent | 2a4902dd802fee13c662d4b801f4e76fd353811c (diff) | |
download | nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar.gz nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar.bz2 nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar.lz nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar.xz nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.tar.zst nixlib-4697f83984f0f1e3b58267fcef3b15b7ce60901b.zip |
openfire service: more informative assertion failure message
Explain why the assertion fails; the user already knows that it *has* failed.
-rw-r--r-- | nixos/modules/services/networking/openfire.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/openfire.nix b/nixos/modules/services/networking/openfire.nix index 454b504eda21..4059eb3db83d 100644 --- a/nixos/modules/services/networking/openfire.nix +++ b/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 = { |