summaryrefslogtreecommitdiffstats
path: root/scripts/caclone-remove.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2014-08-11 10:53:44 -0400
committerEndi S. Dewata <edewata@redhat.com>2014-08-11 10:53:44 -0400
commit5fdca53a8d70b621481100998ef863f8eabce2f9 (patch)
treecaeaba57698e2043c2ec6579da6774c36cca1ec2 /scripts/caclone-remove.sh
parent6d00227616d902a5ba233a74791aa1be9632cd26 (diff)
downloadpki-dev-5fdca53a8d70b621481100998ef863f8eabce2f9.tar.gz
pki-dev-5fdca53a8d70b621481100998ef863f8eabce2f9.tar.xz
pki-dev-5fdca53a8d70b621481100998ef863f8eabce2f9.zip
Updated cleanup script.
Diffstat (limited to 'scripts/caclone-remove.sh')
-rwxr-xr-xscripts/caclone-remove.sh13
1 files changed, 3 insertions, 10 deletions
diff --git a/scripts/caclone-remove.sh b/scripts/caclone-remove.sh
index cedd353..2f5640b 100755
--- a/scripts/caclone-remove.sh
+++ b/scripts/caclone-remove.sh
@@ -1,13 +1,6 @@
-#!/bin/sh -x
+#!/bin/sh
SRC_DIR=`cd ../.. ; pwd`
-INSTANCE_NAME=pki-clone
+INSTANCE_NAME=pki-tomcat
-pkidestroy -s CA -i $INSTANCE_NAME
-
-rm -rf /etc/pki/$INSTANCE_NAME
-rm -rf /etc/sysconfig/$INSTANCE_NAME
-rm -rf /etc/sysconfig/pki/tomcat/$INSTANCE_NAME
-rm -rf /var/lib/pki/$INSTANCE_NAME
-rm -rf /var/log/pki/$INSTANCE_NAME
-rm -rf $SRC_DIR/certs/$INSTANCE_NAME
+pkidestroy -v -s CA -i $INSTANCE_NAME