summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatt Critchlow <mcritchlow@ucsd.edu>2013-07-23 17:54:19 -0700
committerDavid Underwood <david.underwood@jadedpixel.com>2013-07-29 11:59:49 -0400
commitbf0315fde57d27602a90ee6f2ecc92b2b73d42f5 (patch)
tree5f447bcd59c4060d421d8cd6b3aacc60d8985f40 /bin
parentff467e28a14163f6257c260fdd570c0ccd95228c (diff)
add stop command to dashing
fix dashing stop text description remove local comment from stop method
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dashing6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/dashing b/bin/dashing
index 30824ce..9d97700 100755
--- a/bin/dashing
+++ b/bin/dashing
@@ -92,6 +92,12 @@ module Dashing
end
map "s" => :start
+ desc "stop", "Stops the thin server"
+ def stop
+ command = "bundle exec thin stop"
+ system(command)
+ end
+
desc "job JOB_NAME AUTH_TOKEN(optional)", "Runs the specified job. Make sure to supply your auth token if you have one set."
def job(name, auth_token = "")
Dir[File.join(Dir.pwd, 'lib/**/*.rb')].each {|file| require file }