Commit Graph

179 Commits

Author SHA1 Message Date
Daniel Poelzleithner
1f79032c28 Add debug functions and timestamp2string helpers 2022-03-30 23:02:03 +02:00
Daniel Poelzleithner
4a03dab872 [WIP] implement crontab full sync 2022-03-25 19:01:19 +01:00
Daniel Poelzleithner
7a44958347 Fixes for diffrent lua versions 2022-03-24 14:48:58 +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
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
acff33211c [WIP] Add tunnel support 2022-03-16 01:16:33 +01:00
Daniel Poelzleithner
a609f34971 fix compilation with lua 5.4
fixes #621
2021-12-14 16:45:25 +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
564d54be76 Allow and default to relative paths for binaries executed 2021-12-02 17:51:15 +01:00
Bernard Gray
188b691bea add onepass option to exit after initial sync 2018-12-05 17:05:18 +11:00
Axel Kittenberger
ebd2600914 cleanups 2018-03-09 10:03:08 +01:00
Axel Kittenberger
785a7dd503 fixing again setting with new delay objects, cleanups 2017-02-06 17:00:39 +01:00
Axel Kittenberger
544f6066b7 write pid of forked process 2017-01-09 13:13:05 +01:00
Axel Kittenberger
d444ccb2d2 cleanups 2016-12-05 15:11:00 +01:00
Axel Kittenberger
b79defadb3 adding -p to cp for default.direct. Put a log message before daemonizing to test logging. Fix a crash for default.direct 2016-12-02 16:24:07 +01:00
Axel Kittenberger
dbbe5dfdf7 code cleanups, do no longer workaround settings = {...} deprecation 2016-12-01 12:52:34 +01:00
Axel Kittenberger
8367ae89a0 made compatible with lua5.3 2016-11-24 15:44:08 +01:00
Axel Kittenberger
0b9297b790 force _verbatim for 'exitcodes' 2016-05-03 10:45:22 +02:00
Axel Kittenberger
cce7db5ebd preparing version 2.1.6 2015-10-15 08:29:47 +02:00
Axel Kittenberger
1f95925304 compiles on OSX better 2015-10-14 12:57:49 +02:00
Axel Kittenberger
b6228f442d Replacing autotools with CMake 2014-04-29 16:11:27 +02:00
Axel Kittenberger
85e95ef150 cosmetics 2014-02-28 10:15:48 +01:00
Axel Kittenberger
25d2405906 lock pidfile, remove pidfile on INT or TERM 2013-07-30 12:20:23 +02:00
Axel Kittenberger
6290bd6ea7 + fixing 0 characters in -log Exec message for pipes 2013-06-07 11:12:24 +02:00
flygoast
367d5e940a bugfix: fix the buffer size of pipemsg 2013-06-07 00:23:50 +08:00
Axel Kittenberger
a82f4da7cd making settings{} a function 2012-10-08 09:10:03 +02:00
Axel Kittenberger
1b6d9bb65a code beautifications and cleanup, exits with error level 143 after receiving a sigterm 2012-10-07 19:48:23 +02:00
Dennis Schridde
dea7e87b40 Use LSYNCD_*LIBNAME to refer to lsyncd/.inotify tables
This should prevent typos and resulting issues
2012-10-02 02:56:29 +02:00
Dennis Schridde
68982e6e5b Simplify register_lsyncd(), too 2012-10-01 23:00:52 +02:00
Dennis Schridde
702f6d3d4e Make register_inotify() a bit more obvious 2012-10-01 23:00:52 +02:00
Dennis Schridde
3d065fccba Fix typo in name of Lua global table lysncd->lsyncd 2012-10-01 23:00:35 +02:00
Axel Kittenberger
ab36ab7823 making it Lua 5.2 (and 5.1) compatible 2012-09-25 17:29:12 +02:00
Axel Kittenberger
1847fd7cd4 changed asciidoc generation to a2x. removed currently broken feature --with-default-runner. preparing 2.0.7 2012-04-04 13:15:33 +02:00
Axel Kittenberger
e34c182b9f fixing memory leak 2012-03-16 16:05:16 +01:00
Axel Kittenberger
08ad1f4151 line safer 2012-02-16 09:09:19 +01:00
Axel Kittenberger
770d1880d6 Added 'delete=false' flag. if deleting set rsync to force it (otherwise this could result in some deletes not being transfered in the tests 2012-02-16 08:28:40 +01:00
Axel Kittenberger
80baea16e0 improved comments 2012-02-15 20:10:50 +01:00
Axel Kittenberger
af237aa691 splittet default configs into seperated files 2012-02-15 20:00:28 +01:00
Axel Kittenberger
e252496a4e oops, fixing linux 2012-02-15 16:47:04 +01:00
Axel Kittenberger
5ce47d47a3 Finally fixed mysterious error 13. rsync fails 'cause Lsyncd reopened stderr in read mode 2012-02-15 15:16:00 +01:00
Axel Kittenberger
d222ef82f9 Fixing HUP behaviour (reported and original path by Pavel Gulchouck) 2012-02-15 14:42:24 +01:00
Axel Kittenberger
ebe69f981d source beautifications 2012-02-15 13:47:58 +01:00
Axel Kittenberger
de9e404132 code beautifications 2012-02-15 12:15:32 +01:00
Axel Kittenberger
c669051892 fixed logging 2011-11-21 14:31:34 +01:00
Axel Kittenberger
c7d11e4eef imply --insist on reset 2011-08-29 09:21:40 +00:00
Axel Kittenberger
c5f3a17827 + The called rsync binary is now configureable through rsyncBinary
+ Fsevents MAC Os X 10.6 64-bit support (thanks to Demian Steward)
+ fixed some "make clean" oversights
+ worked on library-set feature macros to include everything lsyncd needs on various systems (old Linux'es, new Linux'es, OSX)
+ internally called "rsyncOpts" as the right spelling, rsyncOps is recognized tough */
2011-08-16 14:25:30 +00:00
Axel Kittenberger
4c56100dd0 some header changes to work with older systems. expose readdir to user scripts. write examples into doc dir 2011-07-19 13:29:19 +00:00