mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-06-09 03:32:30 +00:00
fixing default.direct regression
This commit is contained in:
parent
1b6d9bb65a
commit
1217fef9ba
|
@ -34,6 +34,21 @@ local direct = { }
|
||||||
|
|
||||||
default.direct = direct
|
default.direct = direct
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- known configuration parameters
|
||||||
|
--
|
||||||
|
direct.checkgauge = {
|
||||||
|
--
|
||||||
|
-- inherits rsync config params
|
||||||
|
--
|
||||||
|
default.rsync.checkgauge,
|
||||||
|
|
||||||
|
rsyncExitCodes = true,
|
||||||
|
onMove = true,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Spawns rsync for a list of events
|
-- Spawns rsync for a list of events
|
||||||
--
|
--
|
||||||
|
@ -154,6 +169,12 @@ direct.delay = 1
|
||||||
--
|
--
|
||||||
direct.onMove = true
|
direct.onMove = true
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Rsync configuration for startup.
|
||||||
|
--
|
||||||
|
direct.rsync = default.rsync.rsync
|
||||||
|
direct.rsyncExitCodes = default.rsyncExitCodes
|
||||||
|
|
||||||
--
|
--
|
||||||
-- By default do deletes.
|
-- By default do deletes.
|
||||||
--
|
--
|
||||||
|
|
|
@ -48,9 +48,8 @@ default.checkgauge = {
|
||||||
onStartup = true,
|
onStartup = true,
|
||||||
onMove = true,
|
onMove = true,
|
||||||
prepare = true,
|
prepare = true,
|
||||||
-- rsyncExitCodes = true, -- TODO
|
|
||||||
source = true,
|
source = true,
|
||||||
-- sshExitCodes = true -- TODO
|
target = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue
Block a user