added bwlimit

This commit is contained in:
Axel Kittenberger 2013-06-07 11:11:42 +02:00
parent d0e56565a8
commit 25a2274d83
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,7 @@ rsync.checkgauge = {
acls = true,
archive = true,
binary = true,
bwlimit = true,
checksum = true,
compress = true,
copy_links = true,
@ -198,6 +199,12 @@ rsync.action = function( inlet )
delete = { '--delete', '--ignore-errors' }
end
log(
'Normal',
'Computed',
config.rsync._computed
)
spawn(
elist,
config.rsync.binary,
@ -461,6 +468,11 @@ rsync.prepare = function(
computedN = computedN + 1
end
end
if crsync.bwlimit then
computed[ computedN ] = '--bwlimit=' .. crsync.bwlimit
computedN = computedN + 1
end
if crsync.password_file then
computed[ computedN ] = '--password-file=' .. crsync.password_file