1LSYNCD(1) Lsyncd LSYNCD(1)
2
3
4
6 lsyncd - a daemon to continuously synchronize directory trees
7
9 config file:
10 lsyncd [OPTIONS] CONFIG-FILE
11
12 default rsync behaviour:
13 lsyncd [OPTIONS] -rsync SOURCEDIR TARGET ...
14
15 default rync+ssh bevahiour (moves and deletes through ssh):
16 lsyncd [OPTIONS] -rsyncssh SOURCEDIR TARGETHOST TARGETDIR ...
17
18 default direct bevahiour (local file operations/rsync):
19 lsyncd [OPTIONS] -direct SOURCEDIR TARGETDIR ...
20
22 Lsyncd(1) watches a local directory trees event monitor interface
23 (inotify). It aggregates and combines events for a few seconds and then
24 spawns one (or more) process(es) to synchronize the changes. By default
25 this is rsync(1). Lsyncd is thus a light-weight live mirror solution
26 that is comparatively easy to install not requiring new filesystems or
27 blockdevices and does not hamper local filesystem performance.
28
29 Rsync+ssh is an advanced action configuration that uses a SSH(1) to act
30 file and directory moves directly on the target instead of
31 retransmitting the move destination over the wire.
32
33 Fine-grained customizaton can be achieved through the CONFIG-FILE.
34 Custom action configs can even be written from scratch in cascading
35 layers ranging from shell scripts to code written in the LUA(1)
36 language. This way simplicity can be balanced with powerfulness. See
37 the online manual for details on the CONFIG-FILE
38 http://code.google.com/p/lsyncd/wiki/Lsyncd20Manual
39
40
42 -delay SECS
43 Overrides the default delay times.
44
45 -help
46 Show a help message.
47
48 -log LEVEL
49 Controls which kind of events are logged. By default Lsyncd logs
50 Normal and Error Messages. -log scarce will make Lsyncd log Error
51 messages only. -log all will log all debug messages.
52
53 -log Category
54 Turns on a specific debug message. E.g. -log Exec will log all
55 processes as they are spawned.
56
57 -nodaemon
58 Lsyncd will not detach from the invoker and log as well to
59 stdout/err.
60
61 -pifile FILE
62 Lsyncd will write its process ID in FILE.
63
64 -runner FILE
65 Makes the Lsyncd core load the part of Lsyncd written in Lua from
66 FILE
67
68 -version
69 Writes version information and exits.
70
72 0
73 Terminated on a TERM signal(7)
74
75 -1
76 Failure (syntax, unrecoverable error condition, internal failure)
77
79 Online Manual: http://code.google.com/p/lsyncd/wiki/Lsyncd2
80
81
83 This man page is for lsyncd(1) version 2.0.0
84
85
87 Axel Kittenberger, <axkibe@gmail.com> 2010
88
89
91 Copyright (C) 2010 Axel Kittenberger. Free use of this software is
92 granted under the terms of the GNU General Public License (GPL) version
93 2, or any later version. Free redistrubition of this Documentation
94 (/doc directory) is granted under the terms of the Creative Commons 3.0
95 Attribution License (CC-3.0-BY).
96
97
99 1. axkibe@gmail.com
100 mailto:axkibe@gmail.com
101
102
103
104Lsyncd 2.0.0 03/01/2011 LSYNCD(1)