diff options
author | Matt Critchlow <mcritchlow@ucsd.edu> | 2013-07-23 17:54:19 -0700 |
---|---|---|
committer | Matt Critchlow <mcritchlow@ucsd.edu> | 2013-07-24 07:56:58 -0700 |
commit | 04f967847774d65dffaf0d6d6a8c29211b4fa7ea (patch) | |
tree | 0cc0bdd10959040b312b7abc8ebdf756e1650051 /bin/dashing | |
parent | c2fad09e3b3845f80fb6e60f7ceb7e64c60dd633 (diff) |
add stop command to dashing
fix dashing stop text description
remove local comment from stop method
Diffstat (limited to 'bin/dashing')
-rwxr-xr-x | bin/dashing | 6 |
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 } |