summaryrefslogtreecommitdiff
path: root/config/recipes/utility.rb
diff options
context:
space:
mode:
authorRosemary Sanchez <rsanchez@madebyuppercut.com>2013-08-09 14:02:28 -0700
committerRosemary Sanchez <rsanchez@madebyuppercut.com>2013-08-09 14:02:28 -0700
commitf720f3a81cf7a7077bcf320c9a0db0ca4fb1df3a (patch)
treeb3bd7e60168e7619129281472d12c7c5f916bb18 /config/recipes/utility.rb
parentc69a7be929e50678c92bd7a7114788de13ee3d74 (diff)
parent8eee6727265617955a1839ef2f8c69d9fe75db36 (diff)
Merge pull request #18 from madebyuppercut/moHEADmaster
Add tasks to backup remote databases and restore them locally.
Diffstat (limited to 'config/recipes/utility.rb')
-rw-r--r--config/recipes/utility.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/recipes/utility.rb b/config/recipes/utility.rb
new file mode 100644
index 0000000..6d71371
--- /dev/null
+++ b/config/recipes/utility.rb
@@ -0,0 +1,4 @@
+desc "tail the logs on an app server (cap qa logs)"
+task :logs, roles: :app do
+ stream "tail -f #{shared_path}/log/#{rails_env}.log"
+end