Commit Graph

152 Commits

Author SHA1 Message Date
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
Axel Kittenberger
18dda7629b fix script integration 2011-05-04 13:18:37 +00:00
Axel Kittenberger
7531409809 use conventional exectuble integration methods 2011-05-04 13:03:58 +00:00
Axel Kittenberger
a2e8fbba93 missing include 2011-03-30 14:08:01 +00:00
Axel Kittenberger
f06dc066be fixing syslog settings 2011-03-03 10:55:04 +00:00
Axel Kittenberger
26f0583dca added configurable logging facility / ident 2011-03-01 14:57:26 +00:00
Axel Kittenberger
56da9e611f typos and manpage update 2011-02-28 14:19:40 +00:00
Axel Kittenberger
cdab37124d use APICHECK 2011-02-25 07:57:11 +00:00
Axel Kittenberger
af90ed8fe5 might easily burst stack 2011-02-24 16:55:16 +00:00
Axel Kittenberger
b1aa47e816 lstat instead of stat for UNKNOWN stats 2011-02-11 14:40:05 +00:00
Axel Kittenberger
6045128e35 last minute fix for 2.0.2 2011-01-20 19:33:50 +00:00
Axel Kittenberger
1733f8a0b1 fixing pipes 2011-01-20 18:55:46 +00:00
Axel Kittenberger
9104e5d87e dont double close pipe fds 2011-01-20 12:46:10 +00:00
Axel Kittenberger
50c133ff73 write pid after daemonize() 2011-01-12 15:48:50 +00:00
Axel Kittenberger
2a6955d4c6 oops unbreak fsevents register 2010-12-16 12:44:00 +00:00
Axel Kittenberger
21b355ef75 working on fsevents 2010-12-10 13:28:10 +00:00
Axel Kittenberger
84b513707b added warnings 2010-12-10 13:17:01 +00:00
Axel Kittenberger
2f21d0f0b8 security check 2010-12-07 12:50:31 +00:00
Axel Kittenberger
8b2e05a681 non glibc need a true tms for times 2010-12-06 16:33:32 +00:00
Axel Kittenberger
07e35ffe60 allow tables as arguments to spawn/exec, so e.g. rsyncOpts can include several options 2010-12-03 19:47:33 +00:00
Axel Kittenberger
1ada503074 release 2.0.0 2010-12-02 11:57:04 +00:00
Axel Kittenberger
288cf4ae61 upvalue save alarm comparison 2010-12-01 13:17:04 +00:00
Axel Kittenberger
ded00765c6 working on user access for observe_fd 2010-12-01 12:19:17 +00:00
Axel Kittenberger
e22691e111 replace daemon(0, 0) with own daemonize 2010-11-29 22:34:58 +00:00
Axel Kittenberger
aee59ea5c7 added user custom alarms 2010-11-29 20:32:54 +00:00
Axel Kittenberger
cfc233f37e working on OSX port 2010-11-29 17:45:04 +00:00
Axel Kittenberger
b73bbe3287 fixed cleanup and lbash example 2010-11-29 16:38:31 +00:00
Axel Kittenberger
eda08c2f4e working on fsevents, fixed some warnings. 2010-11-29 16:12:13 +00:00