From f41f3476d8896ef8e3bbb896d3438ea8b24c163f Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 2 Jan 2017 23:05:22 +0000 Subject: [PATCH] tilecache: make config test quiet --- .../templates/default/nginx_generate_tilecache_qos_map.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb index 279d67e98..c09e56230 100755 --- a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb +++ b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb @@ -46,4 +46,4 @@ default 'qos_token=${QOS_TOKEN_DEFAULT}; Max-Age=${VALID_TOKEN}; Domain=openstre EOF # Check config, reload config and fail safe -/etc/init.d/nginx configtest && /bin/systemctl try-reload-or-restart nginx +/etc/init.d/nginx configtest 2>/dev/null && /bin/systemctl try-reload-or-restart nginx -- 2.43.2