summaryrefslogtreecommitdiffstats
path: root/scripts/candlepin-uninstall.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2012-06-11 21:16:05 -0500
committerEndi S. Dewata <edewata@redhat.com>2012-06-11 21:16:05 -0500
commitddc153ad951d8bf2125bf64f2e06013730f8bee1 (patch)
tree3ebaeffe018933983a173d4f1959d21831d38757 /scripts/candlepin-uninstall.sh
parent27bdba4f594cbdedfb5881e7e52d5fb6d97e794b (diff)
downloadfreeipa-dev-ddc153ad951d8bf2125bf64f2e06013730f8bee1.tar.gz
freeipa-dev-ddc153ad951d8bf2125bf64f2e06013730f8bee1.tar.xz
freeipa-dev-ddc153ad951d8bf2125bf64f2e06013730f8bee1.zip
Added scripts for test data.
Diffstat (limited to 'scripts/candlepin-uninstall.sh')
-rwxr-xr-xscripts/candlepin-uninstall.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/candlepin-uninstall.sh b/scripts/candlepin-uninstall.sh
new file mode 100755
index 0000000..0a77535
--- /dev/null
+++ b/scripts/candlepin-uninstall.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+rm -rf /var/lib/candlepin
+rm -rf /var/log/candlepin
+rm -rf /var/cache/candlepin
+rm -rf /var/lib/tomcat6/webapps/candlepin
+rm -rf /var/lib/tomcat6/webapps/candlepin.war
+rm -rf /etc/candlepin
+rm -rf /usr/share/tomcat6/conf/keystore
+
+service tomcat6 restart