From 3ef1cf5265546571c1c81b631eaa91b6b32ba00d Mon Sep 17 00:00:00 2001 From: Elliot Murphy Date: Thu, 21 Jan 2016 21:08:42 -0500 Subject: [PATCH] Fix the command that was killing nginx process. --- nginx/package.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/package.sls b/nginx/package.sls index 1bef5e7..58785b7 100644 --- a/nginx/package.sls +++ b/nginx/package.sls @@ -23,7 +23,7 @@ nginx-old-init: {% endif %} module.wait: - name: cmd.run - - cmd: kill `cat /var/run/nginx.pid` + - cmd: sh -c "kill `cat /var/run/nginx.pid`" - watch: - file: nginx-old-init - require_in: