mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 22:28:38 +02:00
openldap service
This commit is contained in:
parent
1947c1533d
commit
46264aae9a
1 changed files with 4 additions and 3 deletions
|
@ -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) )
|
||||||
|
|
Loading…
Add table
Reference in a new issue