Open ProGM opened 9 years ago
Looks good to me, was looking to add this myself.
The touching of the file threw me a bit, but it seems that the unicorn server will give a stale pid error message if it's not there. Not exactly sure why; there's nothing obvious causing it... https://github.com/defunkt/unicorn/blob/master/lib/unicorn/http_server.rb#L185
Hello! This change allows to use the --pid/-P option in
rails server
.Example: