X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4e99c5be590629426248a522a1c09ce2ab9196d1..7818690d6c926bad3e0f6a2e79b4e0a2a9c350b7:/cookbooks/systemd/templates/default/service.erb diff --git a/cookbooks/systemd/templates/default/service.erb b/cookbooks/systemd/templates/default/service.erb index b979703dd..197d8bddf 100644 --- a/cookbooks/systemd/templates/default/service.erb +++ b/cookbooks/systemd/templates/default/service.erb @@ -127,6 +127,9 @@ RuntimeDirectory=<%= @runtime_directory %> <% if @runtime_directory_mode -%> RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %> <% end -%> +<% if @runtime_directory_preserve -%> +RuntimeDirectoryPreserve=<%= @runtime_directory_preserve %> +<% end -%> <% if @state_directory -%> StateDirectory=<%= @state_directory %> <% end -%>