diff --git a/glicid/services/openldap.scm b/glicid/services/openldap.scm index 01f3637..1990f07 100644 --- a/glicid/services/openldap.scm +++ b/glicid/services/openldap.scm @@ -20,13 +20,13 @@ (openldap openldap-configuration-openldap ; (default openldap) ) - (extra-args openldap-configuration-arguments ;list of strings + (arguments openldap-configuration-arguments ;list of strings (default '()) ) (log-flags openldap-configuration-logflags ;number (default "0") ) - (log-file openldap-configuration-log-file ; string + (logfile openldap-configuration-log-file ; string (default "/var/log/slapd.log") ) (pid-file openldap-configuration-pid-file ; string @@ -44,7 +44,7 @@ (define openldap-shepherd-service (match-lambda - (($ openldap extra-args log-flags log-file pid-file config-file) + (($ openldap arguments log-flags logfile pid-file config-file) (list (shepherd-service (provision '(slapd) ) @@ -58,9 +58,10 @@ #$(file-append openldap "/libexec/slapd") "-d" #$log-flags "-f" #$config-file - #$extra-args + #$arguments ) #:pid-file #$pid-file + #:log-file #$logfile )) (stop #~(make-kill-destructor)) )