mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: zabbix-frontend: Fix configuration file for hard coded passwords.
This is a follow-up to commit 078f5bfae7
.
* gnu/services/monitoring.scm (zabbix-front-end-config): When DB-PASSWORD is
set, enclose the password with quotes in the configuration file.
This commit is contained in:
parent
171084792f
commit
4657a39270
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ (define (zabbix-front-end-config config)
|
|||
(display-hint (format #f (G_ "~a:~a:~a: ~a:
|
||||
Consider using @code{db-secret-file} instead of @code{db-password} for better
|
||||
security.") file line column 'zabbix-front-end-configuration))
|
||||
db-password)))
|
||||
(format #f "'~a';~%" db-password))))
|
||||
"
|
||||
// Schema name. Used for IBM DB2 and PostgreSQL.
|
||||
$DB['SCHEMA'] = '';
|
||||
|
|
Loading…
Reference in a new issue