mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-07-11 21:29:59 +02:00
updating authentik-outpost-ldap service
This commit is contained in:
commit
bee1fc05d7
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue