]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/rsyncd/recipes/default.rb
Renice background services
[chef.git] / cookbooks / rsyncd / recipes / default.rb
index 0946a0c19f1f9fcf9a38a34e2b0b62db4582802f..11b45b5eac6f6ca1accccbfd9a1713809ff784a9 100644 (file)
@@ -49,6 +49,7 @@ systemd_service "rsync-override" do
   service "rsync"
   dropin "override"
   exec_start "/usr/bin/rsync --daemon --no-detach --bwlimit=16384"
+  nice 10
   read_write_paths writable_paths.sort
   notifies :restart, "service[rsync]"
 end