From bf0315fde57d27602a90ee6f2ecc92b2b73d42f5 Mon Sep 17 00:00:00 2001 From: Matt Critchlow Date: Tue, 23 Jul 2013 17:54:19 -0700 Subject: add stop command to dashing fix dashing stop text description remove local comment from stop method --- bin/dashing | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') 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 } -- cgit v1.2.3