X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2678c041db64440f0a15a1178d812140d3b90eb7..5c996f9fbeb82a9c8e3b818b6d412ba2d21f8fa6:/cookbooks/rsyncd/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/rsyncd/recipes/default.rb b/cookbooks/rsyncd/recipes/default.rb index 11b45b5ea..89ee45909 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]" @@ -77,9 +77,8 @@ end firewall_rule "accept-rsync" do action :accept - source "net" - dest "fw" - proto "tcp:syn" + context :incoming + protocol :tcp dest_ports "rsync" - source_ports "1024:" + source_ports "1024-65535" end