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