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:
Joachim Fasting 2016-12-10 15:39:25 +01:00
parent 2a4902dd80
commit 4697f83984
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -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 = {