summaryrefslogtreecommitdiff
path: root/config/recipes/utility.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-08-09 14:29:23 -0600
committermo khan <mo@mokhan.ca>2013-08-09 14:29:23 -0600
commit8eee6727265617955a1839ef2f8c69d9fe75db36 (patch)
tree578cbe99cdcfb97d4db80a8c866c4c6a38347356 /config/recipes/utility.rb
parenta90d09be8a682523e762bda68a3b69bae2bb2864 (diff)
add descriptions to the database backup/restore tasks
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