New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pumactl example in README doesn't work #1427
Comments
Whoops, yeah in the docs that should say something like: pumactl -C 'tcp://127.0.0.1:9293' --control-token foo restart or pumactl -p <puma-pid> --control-token foo restart We're just using OptionParser so it's too dumb to allow "command-before-arguments", even though it feels more natural here. All options must come before the command. |
That did it, thanks! |
This was referenced Mar 15, 2018
This was referenced Mar 12, 2021
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Here's what happens when I copy and paste the two commands in the "Control/Status Server" section of the README. (My only change is the
&
to put the server in the background.)Expected behavior
It restarts the server, as the README says it will.
Actual behavior
See above.
System configuration
Ruby version:2.4.1p11
Rails version:nil
Puma version:3.10.0
The same thing happens if I run the server via
puma --control tcp://127.0.0.1:9293 --control-token foo&
, then try to restart it withpumactl restart -C 'tcp://127.0.0.1:9293' --control-token foo
. So maybe the docs are right but my puma installation is broken in some way? It's a fresh install with no configuration or anything, though.The text was updated successfully, but these errors were encountered: