mirror of
https://github.com/octoleo/lsyncd.git
synced 2025-01-07 09:04:05 +00:00
oops forgot the template...
This commit is contained in:
parent
f6ce4de561
commit
d963f4c993
@ -12,6 +12,9 @@ AC_ARG_ENABLE([xml_config],
|
||||
esac],[xml_config=true])
|
||||
AM_CONDITIONAL(XML_CONFIG,[test x$xml_config = xtrue])
|
||||
|
||||
if test x$xml_config = xtrue; then
|
||||
AM_PATH_XML2(2.5.0,,AC_MSG_ERROR([*** Libxml is required if you do not --disable-xml-config]))
|
||||
fi
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
|
80
lsyncd.conf.xml
Normal file
80
lsyncd.conf.xml
Normal file
@ -0,0 +1,80 @@
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user