Commit Graph

183 Commits

Author SHA1 Message Date
Daniel Poelzleithner
dd84b2e6b6 lua 5.4 fixes 2022-06-03 07:07:08 +02:00
Daniel Poelzleithner
8c71941f9c Remove old debug prints, fix error() calls 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
c84e3d0e05 fix compile warning about write() return code 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
7f0127548b Add function to return file size 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
c8fbe955fe Add debug functions and timestamp2string helpers 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
58f1991e0b [WIP] implement crontab full sync 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
d6c49b6858 Fixes for diffrent lua versions 2022-06-03 06:45:30 +02:00
Daniel Poelzleithner
6e60f6b89e Call runner cleanup method when exiting through error codes 2022-06-03 06:44:02 +02:00
Daniel Poelzleithner
2b9de7d4c3 rename traceback function 2022-06-03 06:44:02 +02:00
Daniel Poelzleithner
eda846deed Add function to return a free port 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
f66b7147fd Report tunnel status in status file 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
274b2b0416 [WIP] Add tunnel support 2022-06-03 06:44:01 +02: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