]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Merge remote-tracking branch 'github/pull/710'
[chef.git] / cookbooks / systemd / templates / default / service.erb
index b979703dd709da3a9a5690b2ed92fa2f2ba21e85..197d8bddf80dd6972be5d9eb550f69f6d6d8ff79 100644 (file)
@@ -127,6 +127,9 @@ RuntimeDirectory=<%= @runtime_directory %>
 <% if @runtime_directory_mode -%>
 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
 <% end -%>
 <% 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 -%>
 <% if @state_directory -%>
 StateDirectory=<%= @state_directory %>
 <% end -%>