mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 14:18:38 +02:00
cleaning
This commit is contained in:
parent
e73f7dc832
commit
1947c1533d
1 changed files with 5 additions and 4 deletions
|
@ -20,13 +20,13 @@
|
||||||
(openldap openldap-configuration-openldap ;<package>
|
(openldap openldap-configuration-openldap ;<package>
|
||||||
(default openldap)
|
(default openldap)
|
||||||
)
|
)
|
||||||
(extra-args openldap-configuration-arguments ;list of strings
|
(arguments openldap-configuration-arguments ;list of strings
|
||||||
(default '())
|
(default '())
|
||||||
)
|
)
|
||||||
(log-flags openldap-configuration-logflags ;number
|
(log-flags openldap-configuration-logflags ;number
|
||||||
(default "0")
|
(default "0")
|
||||||
)
|
)
|
||||||
(log-file openldap-configuration-log-file ; string
|
(logfile 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
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
(define openldap-shepherd-service
|
(define openldap-shepherd-service
|
||||||
(match-lambda
|
(match-lambda
|
||||||
(($ <openldap-configuration> openldap extra-args log-flags log-file pid-file config-file)
|
(($ <openldap-configuration> openldap arguments log-flags logfile pid-file config-file)
|
||||||
(list
|
(list
|
||||||
(shepherd-service
|
(shepherd-service
|
||||||
(provision '(slapd) )
|
(provision '(slapd) )
|
||||||
|
@ -58,9 +58,10 @@
|
||||||
#$(file-append openldap "/libexec/slapd")
|
#$(file-append openldap "/libexec/slapd")
|
||||||
"-d" #$log-flags
|
"-d" #$log-flags
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
#$extra-args
|
#$arguments
|
||||||
)
|
)
|
||||||
#:pid-file #$pid-file
|
#:pid-file #$pid-file
|
||||||
|
#:log-file #$logfile
|
||||||
))
|
))
|
||||||
(stop #~(make-kill-destructor))
|
(stop #~(make-kill-destructor))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue