From 46264aae9a5ccf156915e112b91e53efc2e70433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20GUILLAUME?= Date: Thu, 2 Dec 2021 21:45:53 +0100 Subject: [PATCH] openldap service --- glicid/services/openldap.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/glicid/services/openldap.scm b/glicid/services/openldap.scm index 1990f07..970b289 100644 --- a/glicid/services/openldap.scm +++ b/glicid/services/openldap.scm @@ -23,10 +23,10 @@ (arguments openldap-configuration-arguments ;list of strings (default '()) ) - (log-flags openldap-configuration-logflags ;number + (logflags openldap-configuration-logflags ;number (default "0") ) - (logfile openldap-configuration-log-file ; string + (log-file openldap-configuration-log-file ; string (default "/var/log/slapd.log") ) (pid-file openldap-configuration-pid-file ; string @@ -37,6 +37,7 @@ ) ) + (define %default-slapd.conf (plain-file "slapd.conf" " # Empty file for test @@ -44,7 +45,7 @@ (define openldap-shepherd-service (match-lambda - (($ openldap arguments log-flags logfile pid-file config-file) + (($ openldap arguments logflags log-file pid-file config-file) (list (shepherd-service (provision '(slapd) )