updating authentik-outpost-ldap service

This commit is contained in:
Jean-François GUILLAUME 2025-06-24 07:14:43 +00:00
commit bee1fc05d7

View file

@ -135,8 +135,8 @@
(string-append "AUTHENTIK_LISTEN__LDAP" authentik_listen_ldap)
(string-append "AUTHENTIK_LISTEN__LDAPS" authentik_listen_ldaps)
(string-append "AUTHENTIK_LISTEN__METRICS" authentik_listen_metrics))
#:user "authentik-outpost-ldap"
#:group "authentik-outpost-ldap"))
#:user "authentik-outpost"
#:group "authentik-outpost"))
(stop #~(make-kill-destructor)))))))
(define privileged-authentik-outpost-ldap
@ -148,6 +148,14 @@
(define %authentik-outpost-activation
#~(begin
(chmod "/var/lib/authentik-outpost" #o0770)
(touch "/var/log/authentik-outpost-ldap.log")
(touch "/var/log/authentik-outpost-proxy.log")
(touch "/var/log/authentik-outpost-rac.log")
(touch "/var/log/authentik-outpost-radius.log")
(chown "/var/log/authentik-outpost-ldap.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost")))
(chown "/var/log/authentik-outpost-proxy.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost")))
(chown "/var/log/authentik-outpost-rac.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost")))
(chown "/var/log/authentik-outpost-radius.log" (passwd:uid (getpwnam "authentik-outpost")) (passwd:gid (getpwnam "authentik-outpost")))
#t ))
(define privileged-authentik-outpost-ldap-service-type