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) )