20 lines
463 B
Desktop File
20 lines
463 B
Desktop File
[Unit]
|
|
Description=Kerberos KDC Container
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[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 --ignore kdc
|
|
ExecStopPost=/usr/bin/podman rm -f --ignore kdc
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|