]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Add systemd service RuntimeMaxSec
[chef.git] / cookbooks / systemd / templates / default / service.erb
index eff7b83084cf19ce694b5a30903f45020b370666..7786ab6090e0a93102c4c1867e3a66a55df8e41b 100644 (file)
@@ -93,6 +93,9 @@ RuntimeDirectory=<%= @runtime_directory %>
 <% if @runtime_directory_mode -%>
 RuntimeDirectoryMode=<%= sprintf("0%o", @runtime_directory_mode) %>
 <% end -%>
+<% if @runtime_max_sec -%>
+RuntimeMaxSec=<%= @runtime_max_sec %>
+<% end -%>
 <% if @standard_input -%>
 StandardInput=<%= @standard_input %>
 <% end -%>