From 5243ff791ccbdb55b5861c7926a485f6257357d8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 20 May 2017 18:55:12 +0100 Subject: [PATCH 1/1] Invoke low zoom update via a shell The version of systemd in Ubuntu 16.04 doesn't support template variables in the name of the program to start (more recent versions do) so wrap it in a shell. --- cookbooks/tile/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tile/recipes/default.rb b/cookbooks/tile/recipes/default.rb index b3001c1e5..ceadecdf2 100644 --- a/cookbooks/tile/recipes/default.rb +++ b/cookbooks/tile/recipes/default.rb @@ -244,7 +244,7 @@ nodejs_package "millstone" systemd_service "update-lowzoom@" do description "Low zoom tile update service for %i layer" user "tile" - exec_start "/usr/local/bin/update-lowzoom-%i" + exec_start "/bin/bash /usr/local/bin/update-lowzoom-%i" private_tmp true private_devices true private_network true -- 2.43.2