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]"
action :accept
source "net"
dest "fw"
- proto "tcp:syn"
+ proto "tcp"
dest_ports "rsync"
- source_ports "1024:"
+ source_ports "1024-65535"
end