Sha256: 4b1bf91dbcdd99aa9eb61a76df6173c293979a348199e8d02ab499f1b0df446e
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
## # Recipe to start/stop Unicorn. require "vlad" require "hoe" class Vlad::Unicorn %w(stop_app start_app).each { |task| Rake.clear_tasks "vlad:#{task}" } namespace :vlad do desc "Start the daemon." remote_task :start_app, :roles => :app do run_rake "unicorn:start" end desc "Stop the daemon." remote_task :stop_app, :roles => :app do run_rake "unicorn:stop" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vlad-unikorn-0.1.0 | lib/vlad/unicorn.rb |