kdc: Move KDC to run in container
This commit is contained in:
parent
0c00037cf2
commit
9c083ebb81
10 changed files with 71 additions and 119 deletions
13
roles/kdc/files/kdc-container.service
Normal file
13
roles/kdc/files/kdc-container.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Kerberos KDC Container
|
||||
|
||||
[Service]
|
||||
User=kdc
|
||||
EnvironmentFile=/etc/sysconfig/kdc-container
|
||||
ExecStart=/usr/bin/podman run --rm -p 127.0.0.1:8001:8000 --name kdc \
|
||||
-e LDAP_BASEDN -e LDAP_BIND_PW -e KRB5_REALM -e KRB5_STASH_PW kdc
|
||||
ExecStop=/usr/bin/podman stop kdc
|
||||
KillMode=none
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue