mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-05-02 07:05:38 +02:00
removing sssd package and changing services definitions
This commit is contained in:
parent
b14fd052dc
commit
7394fa8127
3 changed files with 17 additions and 40 deletions
|
@ -17,15 +17,15 @@
|
|||
openldap-configuration make-openldap-configuration
|
||||
openldap-configuration?
|
||||
(openldap-pkg openldap-pkg (default openldap))
|
||||
(uri openldap-uri (default "ldapi:// ldap://"))
|
||||
(logflags openldap-logflags (default "0"))
|
||||
(pid-file openldap-pid-file (default "/var/run/openldap/slapd.pid"))
|
||||
(config-file openldap--config-file (default (file-append openldap "/etc/openldap/slapd.conf")))
|
||||
(log-file openldap-log-file (default "/var/log/slapd.log")))
|
||||
(uri uri (default "ldapi:// ldap://"))
|
||||
(logflags logflags (default "0"))
|
||||
(pid-file pid-file (default "/var/run/openldap/slapd.pid"))
|
||||
(config-file config-file (default (file-append openldap "/etc/openldap/slapd.conf")))
|
||||
(log-file log-file (default "/var/log/slapd.log")))
|
||||
|
||||
(define openldap-shepherd-service
|
||||
(match-lambda
|
||||
(($ <openldap-configuration> openldap-pkg uri logflags pid-file config-file log-file)
|
||||
(($ <openldap-configuration> pkg uri logflags pid-file config-file log-file)
|
||||
(list
|
||||
(shepherd-service
|
||||
(provision '(slapd))
|
||||
|
@ -34,7 +34,7 @@
|
|||
(respawn? #t)
|
||||
(start #~(make-forkexec-constructor
|
||||
(list
|
||||
#$(file-append openldap "/libexec/slapd")
|
||||
#$(file-append pkg "/libexec/slapd")
|
||||
"-h" #$uri
|
||||
"-d" #$logflags
|
||||
"-f" #$config-file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue