services: zabbix-front-end: Tweak error and hint messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error and hint mssages.
This commit is contained in:
parent
40cc850aeb
commit
9012d226fa
|
@ -530,15 +530,14 @@ $DB['PASSWORD'] = '" (if (string-null? db-password)
|
||||||
(raise (condition
|
(raise (condition
|
||||||
(&message
|
(&message
|
||||||
(message "\
|
(message "\
|
||||||
You must provide either 'db-secret-file' or 'db-password'."))))
|
you must provide either 'db-secret-file' or 'db-password'"))))
|
||||||
(string-trim-both
|
(string-trim-both
|
||||||
(with-input-from-file db-secret-file
|
(with-input-from-file db-secret-file
|
||||||
read-string)))
|
read-string)))
|
||||||
(begin
|
(begin
|
||||||
(display-hint "
|
(display-hint "\
|
||||||
Consider use `db-secret-file' instead of `db-password' and unset
|
Consider using @code{db-secret-file} instead of @code{db-password} and unset
|
||||||
`db-password' for security in `zabbix-front-end-configuration'.
|
@code{db-password} for security in @code{zabbix-front-end-configuration}.")
|
||||||
")
|
|
||||||
db-password)) "';
|
db-password)) "';
|
||||||
|
|
||||||
// Schema name. Used for IBM DB2 and PostgreSQL.
|
// Schema name. Used for IBM DB2 and PostgreSQL.
|
||||||
|
|
Loading…
Reference in New Issue