]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb
tilecache: make config test quiet
[chef.git] / cookbooks / tilecache / templates / default / nginx_generate_tilecache_qos_map.erb
index 279d67e98c4b774ae9527413d8815d693b874f02..c09e56230cf410d22716d280719cbe006f0dad37 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