Module: Thin
- Defined in:
- lib/magicmonkey/app_servers/thin.rb
Class Method Summary collapse
Class Method Details
.start(args = {}) ⇒ Object
3 4 5 |
# File 'lib/magicmonkey/app_servers/thin.rb', line 3 def self.start(args = {}) ["thin start -e production -p #{args[:port]} #{args[:app_server_options]} -d"] end |
.stop(args = {}) ⇒ Object
7 8 9 |
# File 'lib/magicmonkey/app_servers/thin.rb', line 7 def self.stop(args = {}) ["thin stop -p #{args[:port]} || true"] end |