Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Commit bf0315f

Browse files
mcritchlowDavid Underwood
authored andcommitted
add stop command to dashing
fix dashing stop text description remove local comment from stop method
1 parent ff467e2 commit bf0315f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/dashing

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ module Dashing
9292
end
9393
map "s" => :start
9494

95+
desc "stop", "Stops the thin server"
96+
def stop
97+
command = "bundle exec thin stop"
98+
system(command)
99+
end
100+
95101
desc "job JOB_NAME AUTH_TOKEN(optional)", "Runs the specified job. Make sure to supply your auth token if you have one set."
96102
def job(name, auth_token = "")
97103
Dir[File.join(Dir.pwd, 'lib/**/*.rb')].each {|file| require file }

0 commit comments

Comments
 (0)