Module: Inploy::Servers::Thin

Defined in:
lib/inploy/servers/thin.rb

Instance Method Summary collapse

Instance Method Details

#restart_serverObject



4
5
6
7
8
9
# File 'lib/inploy/servers/thin.rb', line 4

def restart_server
  run "thin --pid tmp/pids/thin.pid stop"
  run "thin --rackup config.ru --daemonize\
  --log log/thin.log --pid tmp/pids/thin.pid --environment production\
  --port 4500 start"
end