Pārlūkot izejas kodu

Now restart nginx service instead of reload. Reload, while nice on config updates, doesn't have the required effect when you upgrade nginx. If we can reload on config update and restart on code upgrade, that would be great. For now we just always restart.

tags/v0.55.0
Ross Perkins pirms 10 gadiem
vecāks
revīzija
2c809fa402
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      nginx/source.sls

+ 1
- 1
nginx/source.sls Parādīt failu

@@ -175,7 +175,7 @@ nginx:
service:
- running
- enable: True
- reload: True
- restart: True
- watch:
- cmd: nginx
- file: {{ conf_dir }}/nginx.conf

Notiek ielāde…
Atcelt
Saglabāt