]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/templates/default/service.erb
Better CPU/IO scheduling for cron on tilecaches
[chef.git] / cookbooks / systemd / templates / default / service.erb
index 46b8aa575f66b7646cbde14d9da156c600c51ab0..188404508470b65fb3c9f69e672a0c81a06a6796 100644 (file)
@@ -114,6 +114,15 @@ TimeoutSec=<%= @timeout_sec %>
 <% if @pid_file -%>
 PIDFile=<%= @pid_file %>
 <% end -%>
 <% if @pid_file -%>
 PIDFile=<%= @pid_file %>
 <% end -%>
+<% if @nice -%>
+Nice=<%= @nice %>
+<% end -%>
+<% if @io_scheduling_class -%>
+IOSchedulingClass=<%= @io_scheduling_class %>
+<% end -%>
+<% if @io_scheduling_priority -%>
+IOSchedulingPriority=<%= @io_scheduling_priority %>
+<% end -%>
 <% unless @dropin -%>
 
 [Install]
 <% unless @dropin -%>
 
 [Install]