summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-06-28 13:16:47 -0400
committerMicah <micah@leap.se>2016-06-30 09:41:19 -0400
commitd0ff379fe2a43d7968b8828c8b31af5254f6f85b (patch)
tree35ffe6576ea383e9e6bfcd70d7908e5b58400089 /lib
parent8e0fdbb46761505b9188c9ea2a6c0df0c55ac458 (diff)
Remove bigcouch (#8056)
Change-Id: I0c6e27298c63bd37de1410985d054799818c22a4
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/commands/db.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/db.rb b/lib/leap_cli/commands/db.rb
index 5307ac4d..227d429d 100644
--- a/lib/leap_cli/commands/db.rb
+++ b/lib/leap_cli/commands/db.rb
@@ -50,7 +50,7 @@ module LeapCli; module Commands
def destroy_all_dbs(nodes)
ssh_connect(nodes) do |ssh|
- ssh.run('/etc/init.d/bigcouch stop && test ! -z "$(ls /opt/bigcouch/var/lib/ 2> /dev/null)" && rm -r /opt/bigcouch/var/lib/* && echo "All DBs destroyed" || echo "DBs already destroyed"')
+ ssh.run('/etc/init.d/couchdb stop && test ! -z "$(ls /var/lib/couchdb 2> /dev/null)" && rm -r /var/lib/couchdb/* && echo "All DBs destroyed" || echo "DBs already destroyed"')
end
end