From 0eae31475f4a5696a1ab75ed601b3099110007e4 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 2 Jan 2017 22:17:59 +0000 Subject: [PATCH] tilecache: switch reload to systemctl try-reload-or-restart --- .../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 9a386a3e7..a8f937823 100755 --- a/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb +++ b/cookbooks/tilecache/templates/default/nginx_generate_tilecache_qos_map.erb @@ -42,4 +42,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 && ( /usr/sbin/service nginx reload || true ) +/etc/init.d/nginx configtest && /bin/systemctl try-reload-or-restart nginx -- 2.43.2