mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-12 16:32:01 -05:00
Add start/stop for the CA
This commit is contained in:
1 parent
b4d039871d
commit
49fb5ad493
1 file changed
+8
@@ -27,6 +27,10 @@ function start() {
|
||||
/sbin/service krb5kdc start
|
||||
/sbin/service ipa_kpasswd start
|
||||
/sbin/service httpd start
|
||||
|
||||
if [ -e /var/lib/pki-ca ]; then
|
||||
/sbin/service pki-cad start
|
||||
fi
|
||||
}
|
||||
|
||||
function stop() {
|
||||
@@ -35,6 +39,10 @@ function stop() {
|
||||
/sbin/service krb5kdc stop
|
||||
/sbin/service dirsrv stop
|
||||
/sbin/service ntpd stop
|
||||
|
||||
if [ -e /var/lib/pki-ca ]; then
|
||||
/sbin/service pki-cad stop
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
||||
Reference in new issue
Block a user