summaryrefslogtreecommitdiffstats
path: root/scripts/caclone-remove.sh
diff options
context:
space:
mode:
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