projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
262347d
)
Invoke low zoom update via a shell
author
Tom Hughes
<tom@compton.nu>
Sat, 20 May 2017 17:55:12 +0000
(18:55 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sat, 20 May 2017 17:55:12 +0000
(18:55 +0100)
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
patch
|
blob
|
history
diff --git
a/cookbooks/tile/recipes/default.rb
b/cookbooks/tile/recipes/default.rb
index b3001c1e5c749776b0f3f7daa0289c7aca7b81a6..ceadecdf207190ff7f30c1e3ac0a98dc15cd22bd 100644
(file)
--- 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