]> git.openstreetmap.org Git - chef.git/commitdiff
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 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