X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2678c041db64440f0a15a1178d812140d3b90eb7..3ee5c4d242a98a13d89a02ba7998610a20969e0c:/cookbooks/rsyncd/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/rsyncd/recipes/default.rb b/cookbooks/rsyncd/recipes/default.rb index 11b45b5ea..bcc0046e4 100644 --- a/cookbooks/rsyncd/recipes/default.rb +++ b/cookbooks/rsyncd/recipes/default.rb @@ -48,7 +48,7 @@ package "rsync" systemd_service "rsync-override" do service "rsync" dropin "override" - exec_start "/usr/bin/rsync --daemon --no-detach --bwlimit=16384" + exec_start "/usr/bin/rsync --daemon --no-detach" nice 10 read_write_paths writable_paths.sort notifies :restart, "service[rsync]" @@ -79,7 +79,7 @@ firewall_rule "accept-rsync" do action :accept source "net" dest "fw" - proto "tcp:syn" + proto "tcp" dest_ports "rsync" - source_ports "1024:" + source_ports "1024-65535" end