updating authentik-outpost-ldap service

This commit is contained in:
GLiCID Tech Admins 2025-06-24 10:52:48 +02:00
parent 605df43cdb
commit f26ddbe1ee

View file

@ -100,12 +100,12 @@
(define authentik-outpost-ldap-service (define authentik-outpost-ldap-service
(match-lambda (match-lambda
(($ <authentik-outpost-ldap-configuration> (($ <authentik-outpost-ldap-configuration>
authentik_host authentik-host
authentik_token authentik-token
authentik_insecure authentik-insecure
authentik_listen_ldap authentik-listen-ldap
authentik_listen_ldaps authentik-listen-ldaps
authentik_listen_metrics authentik-listen-metrics
proxy proxy
noproxy) noproxy)
(list (shepherd-service (list (shepherd-service
@ -129,12 +129,12 @@
#$@(if noproxy #$@(if noproxy
(list (string-append "no_proxy=" noproxy)) (list (string-append "no_proxy=" noproxy))
'()) '())
(string-append "AUTHENTIK_HOST=" #$authentik_host) (string-append "AUTHENTIK_HOST=" #$authentik-host)
(string-append "AUTHENTIK_TOKEN=" #$authentik_token) (string-append "AUTHENTIK_TOKEN=" #$authentik-token)
(string-append "AUTHENTIK_INSECURE=" #$authentik_insecure) (string-append "AUTHENTIK_INSECURE=" #$authentik-insecure)
(string-append "AUTHENTIK_LISTEN__LDAP" #$authentik_listen_ldap) (string-append "AUTHENTIK_LISTEN__LDAP" #$authentik-listen-ldap)
(string-append "AUTHENTIK_LISTEN__LDAPS" #$authentik_listen_ldaps) (string-append "AUTHENTIK_LISTEN__LDAPS" #$authentik-listen-ldaps)
(string-append "AUTHENTIK_LISTEN__METRICS" #$authentik_listen_metrics)) (string-append "AUTHENTIK_LISTEN__METRICS" #$authentik-listen-metrics))
#:user "authentik-outpost" #:user "authentik-outpost"
#:group "authentik-outpost")) #:group "authentik-outpost"))
(stop #~(make-kill-destructor))))))) (stop #~(make-kill-destructor)))))))