summaryrefslogtreecommitdiffstats
path: root/install/restart_scripts/stop_pkicad
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-06-17 14:18:05 +1000
committerJan Cholasta <jcholast@redhat.com>2016-06-21 08:30:35 +0200
commit3edf13cd8ab541908d7e2011a54e31edf1844ea2 (patch)
treec77f096e719e146a110cf7f9743a83c37ce76119 /install/restart_scripts/stop_pkicad
parentfe689e9938d6bcddd848f70b2f719253c55c09d7 (diff)
downloadfreeipa-3edf13cd8ab541908d7e2011a54e31edf1844ea2.tar.gz
freeipa-3edf13cd8ab541908d7e2011a54e31edf1844ea2.tar.xz
freeipa-3edf13cd8ab541908d7e2011a54e31edf1844ea2.zip
restart scripts: bootstrap api with in_server=True
renew_ca_cert fails because it cannot access the 'config' plugin. Bootstrap all the restart scripts to avoid such issues. Fixes: https://fedorahosted.org/freeipa/ticket/5968 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/restart_scripts/stop_pkicad')
-rw-r--r--install/restart_scripts/stop_pkicad2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/restart_scripts/stop_pkicad b/install/restart_scripts/stop_pkicad
index 30b99eeff..ae07dcd58 100644
--- a/install/restart_scripts/stop_pkicad
+++ b/install/restart_scripts/stop_pkicad
@@ -27,7 +27,7 @@ from ipaserver.install import certs
def main():
- api.bootstrap(context='restart')
+ api.bootstrap(in_server=True, context='restart')
api.finalize()
dogtag_service = services.knownservices['pki_tomcatd']