From 2665650b8c7246e8cb9780d3051a82ac05a8d1fc Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 11 Nov 2016 23:24:12 +0100 Subject: [PATCH] Restart nginx instead of reloading --- .infra/Freyfile.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.infra/Freyfile.hcl b/.infra/Freyfile.hcl index c4c9d79..1ca6062 100644 --- a/.infra/Freyfile.hcl +++ b/.infra/Freyfile.hcl @@ -248,8 +248,8 @@ restart { hosts = "tusd" name = "Restart nginx" tasks { - name = "nginx | Reload configuration" - command = "nginx -s reload" + name = "nginx | Restart" + service = "name=nginx state=reloaded" } } }