-
Notifications
You must be signed in to change notification settings - Fork 172
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
Unable to stop nginx #27
Comments
I had the same issue. I resolved it by setting only PIDSPATH in the init config file (/etc/default/nginx). On my system PIDSPATH=/run resolved the stopping problems. Setting PIDFILE didn't work. |
Ok thanks for the info. I'll try to get this squared away. There are things I need to update with the script.
Can you provide OS, Nginx version? I want to add this as a test case.
…-Jason
On Mar 16, 2017, at 9:20 AM, Richard Hollis ***@***.***> wrote:
I had the same issue. I resolved it by setting only PIDSPATH in the init config file (/etc/default/nginx). On my system PIDSPATH=/run resolved the stopping problems. Setting PIDFILE didn't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sure - it's Ubuntu 14.04. Nginx/1.10.2. Let me know if you need anything else or want me to try any changes. BTW - Thanks for a great script! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've resolved a couple of issues with this init script by overriding variables in /etc/default/nginx, and the Nginx server now starts correctly, but I am unable to stop the nginx process via the service command. Can you think of a variable that might interfere with stopping the process, but not with starting it?
The text was updated successfully, but these errors were encountered: