Daniel Poelzleithner
bfc604a591
Implement tunnel pool mode.
...
In this mode, multiple tunnel processes are started and connection a load
balanced on the pool of connections.
Example config:
...
sync {
default.rsync,
tunnel = tunnel {
command = {"ssh", "-N", "-L", "localhost:${localport}:localhost:873", "user@testmachine"},
mode = "pool",
parallel = 2,
},
target = "rsync://localhost:${localport}/test",
...
}
2022-03-23 23:44:19 +01:00
Daniel Poelzleithner
07ec98174a
Call runner cleanup method when exiting through error codes
2022-03-23 23:41:02 +01:00
Daniel Poelzleithner
b712aea0c7
rename traceback function
2022-03-17 02:29:23 +01:00
Daniel Poelzleithner
d708dca0f2
Call user provideable check function
2022-03-17 02:27:02 +01:00
Daniel Poelzleithner
cf7cfe1bda
Add function to return a free port
2022-03-17 02:26:00 +01:00
Daniel Poelzleithner
f722ec14f8
Report tunnel status in status file
2022-03-17 02:25:27 +01:00
Daniel Poelzleithner
60e6505473
Add function to substitude commands with placeholders
2022-03-16 17:38:03 +01:00
Daniel Poelzleithner
cce6e5423b
Updates to tunnel logic.
...
Delay before tunnel is considered up.
Working delay if restart fails.
Disabled state.
Kill all tunnel processes on graceful exit
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
dcf611d4f8
bump version
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
acff33211c
[WIP] Add tunnel support
2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
2841ef8528
add .editorconfig
2022-03-11 07:12:39 +01:00
Daniel Poelzleithner
a410ddebb8
Install man page to correct subfolder
...
fixes #655
2022-03-04 12:10:32 +01:00
Daniel Poelzleithner
8e002d64b5
Merge pull request #656 from LeonGaultier/patch-lua_version_mismatch_error_start_binary
...
fix error - bad binary format (version mismatch)
2022-02-28 21:12:09 +01:00
Marko Oldenburg
b7d11f6b00
change header discription
2022-02-24 14:40:46 +01:00
Marko Oldenburg
efa8155b68
fix error - bad binary format (version mismatch)
...
The problem is that the generated make files end up referencing a mix of lua versions
This patch will fix it.
2022-02-14 12:55:05 +01:00
Daniel Poelzleithner
e2a27af6e7
use relative sh path
2022-01-12 20:46:41 +01:00
Daniel Poelzleithner
f65cdd282d
finish lua2.4 changes
2022-01-12 20:46:14 +01:00
Daniel Poelzleithner
a609f34971
fix compilation with lua 5.4
...
fixes #621
2021-12-14 16:45:25 +01:00
Daniel Poelzleithner
012b0cdd3e
Merge branch 'master' of github.com:lsyncd/lsyncd
2021-12-13 13:26:14 +01:00
Daniel Poelzleithner
0b59ae7652
Merge remote-tracking branch 'origin/pr/595'
2021-12-10 15:22:23 +01:00
Daniel Poelzleithner
b7aa3d9a75
Merge pull request #538 from schneiderl/master
...
Fixed typo at readme.md
2021-12-10 15:19:17 +01:00
Daniel Poelzleithner
39f2f3a373
Finish -onepass option to exit when all syncs ran sucessfully once
2021-12-10 15:05:30 +01:00
Daniel Poelzleithner
d737c03c03
Merge remote-tracking branch 'origin/pr/541'
2021-12-10 12:51:01 +01:00
Daniel Poelzleithner
f812cd4cd5
Merge remote-tracking branch 'origin/pr/567'
2021-12-10 12:25:17 +01:00
Daniel Poelzleithner
938c702525
cleanup ssh server when aborting ci run
2021-12-10 12:20:18 +01:00
Daniel Poelzleithner
e5f71ea3ae
Merge remote-tracking branch 'origin/pr/568'
2021-12-10 12:20:08 +01:00
Daniel Poelzleithner
dcebacb554
Merge pull request #615 from ajdavis/catalina-inotify-fix
...
Remove /System/Volumes/Data from fsevent paths on macOS
2021-12-09 15:43:27 +01:00
Daniel Poelzleithner
92af746a73
Enable CI
2021-12-09 14:37:30 +01:00
Daniel Poelzleithner
5212fd4794
don't depend on which. Add CI script
2021-12-09 13:50:15 +01:00
Daniel Poelzleithner
aea80964f3
install examples into docs
2021-12-08 18:54:02 +01:00
Daniel Poelzleithner
99a682f4cd
add advanced ssh example
2021-12-08 18:28:03 +01:00
Daniel Poelzleithner
75bb0fb084
ignore tests/ssh folder
2021-12-08 18:27:32 +01:00
Daniel Poelzleithner
3e8aad3b2e
Use sshopts for rsyncssh tests
2021-12-08 18:26:11 +01:00
Daniel Poelzleithner
deb425a075
use relative paths for direct mode
2021-12-08 18:25:11 +01:00
Daniel Poelzleithner
5b0d266669
add cmd option to pass ssh options
2021-12-08 18:24:13 +01:00
Daniel Poelzleithner
bb247e0267
Merge remote-tracking branch 'origin/pr/583'
...
fixes #583
2021-12-06 20:31:12 +01:00
Daniel Poelzleithner
185e317119
Merge branch 'master' of github.com:lsyncd/lsyncd
2021-12-03 12:23:27 +01:00
Daniel Poelzleithner
4b1b4d0104
update changelog
2021-12-02 18:33:27 +01:00
Daniel Poelzleithner
960c357045
Update README.md
2021-12-02 17:54:27 +01:00
Daniel Poelzleithner
4c3cf2e6af
Use local ssh server for tests
2021-12-02 17:51:32 +01:00
Daniel Poelzleithner
564d54be76
Allow and default to relative paths for binaries executed
2021-12-02 17:51:15 +01:00
Daniel Poelzleithner
9b2b3ad6e6
Add flake.nix file for easy building
2021-11-24 14:28:46 +01:00
A. Jesse Jiryu Davis
7bb8715bfd
Remove /System/Volumes/Data from fsevent paths on macOS
...
Apparently, beginning with macOS 10.15 Catalina, fsevent paths are prefixed
with "/System/Volumes/Data". Remove it to restore event notification feature
on macOS.
Fixes #587
2020-09-25 15:36:25 -04:00
Thomas Nixon
c4b5465622
allow deleting excluded files with rsync
...
This option can't be added to both init and action, because the rsync
exclude mechanism is used to select the files to send, so would delete
all non-changed files. It's only relevant during init anyway, as after
that no excluded files will be made on the destination.
2020-03-17 00:01:46 +00:00
Taylor Dean
cd9672699e
Enable ssh._extra args
...
ssh._extra args are currently ignored and never actually appended
to the rsh arg. This PR addresses this issue (#402 which is closed
despite never being properly resolved)
2019-11-13 03:19:31 -05:00
Torben Jaeger
c02ee3b6d7
unsetting vars and cleanup
2019-08-08 17:58:15 +02:00
Torben Jaeger
5e08ea2cef
fix different version format in lua.h
2019-08-08 17:58:15 +02:00
Dan Rose
390de3dbaa
Expose rsync's copy_unsafe_links
...
As per the rsync docs: "This tells rsync to copy the referent of symbolic links that point outside the copied tree. Absolute symlinks are also treated like ordinary files, and so are any symlinks in the source path itself when --relative is used. This option has no additional effect if --copy-links was also specified."
2019-08-06 18:09:52 -05:00
Bernard Gray
a57b80f9c8
make indenting consistent
2018-12-06 08:41:53 +11:00
Bernard Gray
188b691bea
add onepass option to exit after initial sync
2018-12-05 17:05:18 +11:00