startup

$ rails server thin -d

shutdown

$ kill -9 $(cat tmp/pids/server.pid)