Skip to content
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

Open
safetypins opened this issue May 3, 2016 · 3 comments · Fixed by #22
Open

Unable to stop nginx #27

safetypins opened this issue May 3, 2016 · 3 comments · Fixed by #22

Comments

@safetypins
Copy link

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?

@richhollis
Copy link

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.

@JasonGiedymin
Copy link
Owner

JasonGiedymin commented Mar 16, 2017 via email

@richhollis
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants