I am running my rails application using the following
$script/server -d webrick
on my Ubuntu system , above command run the webrick s
Like Ryan said:
the pid you want is in tmp/pids/
probably server.pid is the file you want.
You should be able to run kill -9 $(cat tmp/pids/server.pid) to bring down a daemonized server.
kill -9 $(cat tmp/pids/server.pid)