X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4e99c5be590629426248a522a1c09ce2ab9196d1..08be09e5a29886586d4955e6bdcc6592ed6e531e:/cookbooks/systemd/templates/default/service.erb?ds=sidebyside 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 -%>