krb5: allow installing without kadmind

Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
W. Michael Petullo
2019-04-11 18:00:50 -04:00
parent b463bc9d78
commit acc42e9451
2 changed files with 18 additions and 9 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ start() {
[ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
/usr/sbin/krb5kdc
/usr/sbin/kadmind
[ -x /usr/sbin/kadmind ] && /usr/sbin/kadmind
}
stop() {
killall krb5kdc 2> /dev/null
killall kadmind 2> /dev/null
[ -x /usr/sbin/kadmind ] && killall kadmind 2> /dev/null
}