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

changing upstream and applying configuration does reload or restart? #708

Closed
pallavjosh opened this issue Nov 1, 2015 · 1 comment
Closed

Comments

@pallavjosh
Copy link

I think it should reload only but didnt find command and perameter, only $service_restart is there?

Please confirm how it is done
Thanks

@dhoppe
Copy link
Member

dhoppe commented Sep 17, 2016

Hello,

by default config changes will stop / start the service, but you can set configtest_enable to true. This will override the restart parameter and use /etc/init.d/nginx reload instead of stop / start the service.

https://github.com/voxpupuli/puppet-nginx/blob/master/manifests/service.pp#L63-L67

@dhoppe dhoppe closed this as completed Sep 17, 2016
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

No branches or pull requests

2 participants