Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@onovy
Created December 8, 2015 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onovy/61670414405144e84549 to your computer and use it in GitHub Desktop.
Save onovy/61670414405144e84549 to your computer and use it in GitHub Desktop.
nginx:
service:
- enable: true
- reload: true
- watch:
- file: /etc/nginx/config
- pkg: nginx
when config file changes do RELOAD
when pkg nginx changes do RESTART
how? :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment