openldap service

This commit is contained in:
Jean-François GUILLAUME 2021-12-02 21:45:53 +01:00
parent 1947c1533d
commit 46264aae9a

View file

@ -23,10 +23,10 @@
(arguments openldap-configuration-arguments ;list of strings (arguments openldap-configuration-arguments ;list of strings
(default '()) (default '())
) )
(log-flags openldap-configuration-logflags ;number (logflags openldap-configuration-logflags ;number
(default "0") (default "0")
) )
(logfile openldap-configuration-log-file ; string (log-file openldap-configuration-log-file ; string
(default "/var/log/slapd.log") (default "/var/log/slapd.log")
) )
(pid-file openldap-configuration-pid-file ; string (pid-file openldap-configuration-pid-file ; string
@ -37,6 +37,7 @@
) )
) )
(define %default-slapd.conf (define %default-slapd.conf
(plain-file "slapd.conf" " (plain-file "slapd.conf" "
# Empty file for test # Empty file for test
@ -44,7 +45,7 @@
(define openldap-shepherd-service (define openldap-shepherd-service
(match-lambda (match-lambda
(($ <openldap-configuration> openldap arguments log-flags logfile pid-file config-file) (($ <openldap-configuration> openldap arguments logflags log-file pid-file config-file)
(list (list
(shepherd-service (shepherd-service
(provision '(slapd) ) (provision '(slapd) )