diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-28 10:56:26 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-29 12:52:37 +0100 |
commit | 4657a39270f64c071d6b68693e9e5b7fcbb2bfa5 (patch) | |
tree | 4c1f0e2cfa4a8e4a65d49c34e8466b3ef940dc8d /gnu/services | |
parent | 171084792fae1aa4c2cd395af25f8f581c4013e4 (diff) |
services: zabbix-frontend: Fix configuration file for hard coded passwords.
This is a follow-up to commit 078f5bfae7ee174177791defcfd350117a503a6d.
* gnu/services/monitoring.scm (zabbix-front-end-config): When DB-PASSWORD is
set, enclose the password with quotes in the configuration file.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/monitoring.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm index 1b49dbd3cb..957672882a 100644 --- a/gnu/services/monitoring.scm +++ b/gnu/services/monitoring.scm @@ -598,7 +598,7 @@ $DB['PASSWORD'] = " (let ((file (location-file %location)) (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'] = ''; |