From 2c809fa402c65147f58dd56e9bae1bf77e63eb62 Mon Sep 17 00:00:00 2001 From: Ross Perkins Date: Fri, 31 Oct 2014 09:23:54 -0700 Subject: [PATCH] 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. --- nginx/source.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/source.sls b/nginx/source.sls index 08934aa..2b8b3a0 100644 --- a/nginx/source.sls +++ b/nginx/source.sls @@ -175,7 +175,7 @@ nginx: service: - running - enable: True - - reload: True + - restart: True - watch: - cmd: nginx - file: {{ conf_dir }}/nginx.conf