mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
adding custom ssh port to rsync calls as well
This commit is contained in:
parent
824797645b
commit
5b7057bfd7
@ -304,6 +304,9 @@ rsyncssh.prepare = function( config, level )
|
||||
computed[ computedN ] = '-p'
|
||||
computed[ computedN + 1 ] = cssh.port
|
||||
computedN = computedN + 2
|
||||
|
||||
local rsyncc = config.rsync._computed
|
||||
rsyncc[ #rsyncc ] = '--rsh=ssh -p ' .. cssh.port
|
||||
end
|
||||
|
||||
-- appends a slash to the targetdir if missing
|
||||
|
Loading…
Reference in New Issue
Block a user