tilecache: make config test quiet
authorGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 23:05:22 +0000 (23:05 +0000)
committerGrant Slater <git@firefishy.com>
Mon, 2 Jan 2017 23:05:22 +0000 (23:05 +0000)
cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb

index 279d67e..c09e562 100755 (executable)
@@ -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