## **************************************************************************
## For copyright and licensing terms, see the file named COPYING.
## **************************************************************************

[Unit]
Description=Propagate Heimdal Kerberos KDC master to KDC slaves, master side
After=kdc.service
Wants=kdc.service

[Service]
EnvironmentDirectory=env
ExecStartPre=fdredir --write 1 /var/heimdal/services sh -c 'for s in ${slaves} ; do printf \'%s\n\' "$s" ; done'
ExecStart=/usr/libexec/%p --keytab "${keytab}"

[Install]
WantedBy=server.target
