-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
clean output of kong stop when no process is running #235
Comments
I think it's this line: https://github.com/Mashape/kong/blob/master/kong/cli/utils/signal.lua#L342 os.execute("kill -0 "..pid) == 0 |
This is what I see now: kong|master ⇒ kong stop
[INFO] Using configuration: /etc/kong/kong.yml
[ERR] Not running. Could not find pid at: /usr/local/kong/kong.pid has this been resolved? |
It happens on an edge case scenario (not sure, but maybe when Kong is being killed but the PID file still has the old process id), and it also happens in the test: https://travis-ci.org/Mashape/kong/builds/69369029#L1028 |
hutchic
added a commit
that referenced
this issue
Jun 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should probably remove the second and third (empty) lines:
The text was updated successfully, but these errors were encountered: