summaryrefslogtreecommitdiffstats
path: root/install/tools/ipactl
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-01-11 10:23:16 -0500
committerRob Crittenden <rcritten@redhat.com>2010-01-11 13:38:45 -0500
commit49fb5ad493e262667e91c004f1276b2b81b90cf4 (patch)
treebf45e4fe9f892df4a89133be14ec72ab74874f45 /install/tools/ipactl
parentb4d039871de1482a57570b24db7e9a3b877bac90 (diff)
downloadfreeipa-49fb5ad493e262667e91c004f1276b2b81b90cf4.tar.gz
freeipa-49fb5ad493e262667e91c004f1276b2b81b90cf4.tar.xz
freeipa-49fb5ad493e262667e91c004f1276b2b81b90cf4.zip
Add start/stop for the CA
Diffstat (limited to 'install/tools/ipactl')
-rw-r--r--install/tools/ipactl8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/tools/ipactl b/install/tools/ipactl
index 272b065b6..96c96a4b6 100644
--- a/install/tools/ipactl
+++ b/install/tools/ipactl
@@ -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