diff options
author | elijah <elijah@riseup.net> | 2014-12-18 10:15:08 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-12-18 10:15:08 -0800 |
commit | cd6c2d6e98bdc4b7fba72c3a1687fbc4d475a260 (patch) | |
tree | 3f4058809fca261f2147b82f3c6ed1f7432071fe /lib/leap_cli/commands | |
parent | 1b4b584c42e131929cc99e8393b54a1c63412fdc (diff) |
added info note to leap db destroy
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/db.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/commands/db.rb b/lib/leap_cli/commands/db.rb index ea83b0c..fd50424 100644 --- a/lib/leap_cli/commands/db.rb +++ b/lib/leap_cli/commands/db.rb @@ -17,6 +17,7 @@ module LeapCli; module Commands ssh.run('/etc/init.d/bigcouch stop && test ! -z "$(ls /opt/bigcouch/var/lib/ 2> /dev/null)" && rm -r /opt/bigcouch/var/lib/* && echo "db destroyed" || echo "db already destroyed"') ssh.run('grep ^seq_file /etc/leap/tapicero.yaml | cut -f2 -d\" | xargs rm -v') end + say 'You must run `leap deploy` in order to create the databases again.' else say 'No nodes' end |