[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: services: zabbix-agent: Respect user and group configuration.
From: |
guix-commits |
Subject: |
02/06: services: zabbix-agent: Respect user and group configuration. |
Date: |
Wed, 26 Jan 2022 03:34:25 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 88e4c8740a8ae3d8e255913d0a0c690c325d2a27
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jan 25 15:49:09 2022 +0100
services: zabbix-agent: Respect user and group configuration.
* gnu/services/monitoring.scm (zabbix-agent-account): Look up user and group
from CONFIG instead of hard-coded values.
---
gnu/services/monitoring.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index f15450eed5..5337161462 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -431,8 +431,8 @@ configuration file."))
(define (zabbix-agent-account config)
"Return the user accounts and user groups for CONFIG."
- (let ((zabbix-user "zabbix")
- (zabbix-group "zabbix"))
+ (let ((zabbix-user (zabbix-agent-configuration-user config))
+ (zabbix-group (zabbix-agent-configuration-group config)))
(list (user-group (name zabbix-group) (system? #t))
(user-account
(name zabbix-user)
- branch master updated (3563558172 -> 078f5bfae7), guix-commits, 2022/01/26
- 04/06: gnu: zabbix-server: Don't install agent., guix-commits, 2022/01/26
- 03/06: gnu: zabbix-server: Adjust style., guix-commits, 2022/01/26
- 02/06: services: zabbix-agent: Respect user and group configuration.,
guix-commits <=
- 06/06: services: zabbix-server: Do not write database password to the store., guix-commits, 2022/01/26
- 05/06: gnu: zabbix-server: Remove duplicate input., guix-commits, 2022/01/26
- 01/06: etc: Remove redundant SELinux permissions block., guix-commits, 2022/01/26