lsyncd/lsyncd.conf.xml
2008-11-21 13:14:14 +00:00

81 lines
1.9 KiB
XML

<lsyncd version="1.25">
<!--
This is a default config file template for lsyncd.
Actually all settings are optional, if you delete them
lsyncd will use the option value (which is likely identical
to the values specified as defaults in this template)
- Happy Syncing! -
-->
<settings>
<!--uncomment to log all debug messages.-->
<!--debug/-->
<!--uncomment to log only errors.-->
<!--scarce/-->
<!--uncomment to not detach, log to stdout/stderr.-->
<!--no-daemon/-->
<!--uncomment to not call any actions, run dry only.-->
<!--dryrun/-->
<!--uncomment to exclude file handled to rsync.-->
<!--exclude-from filename="/tmp/exclude"/-->
<!-- the file to log messages -->
<logfile filename="/var/log/messages"/>
<!--Specify the rsync (or other) binary to call-->
<binary filename="/usr/bin/rsync"/>
<!--uncomment to create a file containing pid of the daemon-->
<!--pidfile filename="/tmp/pid"/-->
<!--this specifies the arguments handled to the rsync (or other)
binary.
option is the default literal.
only '%r' will be replaced with r when recursive
operation is wanted, d when not.
exclude file will be replaced with -exclude-from FILE
source will be the source path to sync from
destination will be the destination path to sync to -->
<callopts>
<option text="-lt%r"/>
<option text="--delete"/>
<exclude-file/>
<source/>
<destination/>
</callopts>
</settings>
<directory>
<source path="/absolute/path/to/source"/>
<target path="desthost::module/"/>
<!--
or it can also be an absolute path for localhost
<target path="/absolute/path/to/target">
-->
</directory>
<!--
You can specify even more than one source/destination pair,
all will be synced.
Please take care you do not make any with other source/target pairs.
-->
<!--directory>
<source path="/home/axel/lsyncd-svn/3"/>
<target path="/home/axel/lsyncd-svn/4"/>
</directory-->
</lsyncd>