diff --git a/doc/manpage.lsyncd.conf.xml b/doc/manpage.lsyncd.conf.xml index b340d7f..bb62931 100644 --- a/doc/manpage.lsyncd.conf.xml +++ b/doc/manpage.lsyncd.conf.xml @@ -118,7 +118,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ If a node is present lsyncd will write its pid there. Default is not to write a pidfile. <pidfile filename="/var/run/lsyncd.pid"/> - With a node you can control the arguments lsyncd will call the <binary> (rsync) with. Each child node will specify one argument. <option> specifies a literal argument. Only %r will be replaced with 'r' when rsycnd is supposed to work recursive (on startup of lsyncd) or 'd' on normal operations. <exclude-file> will be replaced with if an <exclude-from> file is specified. <source> will be replaced the source directory to sync from. <destination> will be replace to the target to sync to. Default arguments are . + With a node you can control the arguments lsyncd will call the <binary> (rsync) with. Each child node will specify one argument. <option> specifies a literal argument. Only %r will be replaced with 'r' when rsycnd is supposed to work recursive (on startup of lsyncd) or 'd' on normal operations. <exclude-file> will be replaced with if an <exclude-from> file is specified. <source> will be replaced the source directory to sync from. <destination> will be replace to the target to sync to. Default arguments are . <callopts> With a node you can control the inotify events lsyncd will register to. Each event is configured by a <event> child node and its attribute 'id'. The following events may be registered: ACCESS,ATTRIB,CLOSE_WRITE,CLOSE_NOWRITE,CREATE,DELETE,DELETE_SELF,MODIFY,MOVE_SELF,MOVED_FROM,MOVED_TO,OPEN. If the inotify node is omitted the following events are registered by default: IN_ATTRIB,IN_CLOSE_WRITE,IN_CREATE,IN_DELETE,IN_DELETE_SELF,IN_MOVED_FROM,IN_MOVED_TO,IN_DONT_FOLLOW,IN_ONLYDIR. <inotify> @@ -126,7 +126,7 @@ man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ <event id="DELETE"/> </inotify> - <option text="-lt%r"/> + <option text="-lts%r"/> <option text="--delete"/> <exclude-file/> <source/> diff --git a/lsyncd.c b/lsyncd.c index aa4c747..04e22c3 100644 --- a/lsyncd.c +++ b/lsyncd.c @@ -338,7 +338,7 @@ struct global_options { * Standard default options to call the binary with. */ struct call_option standard_callopts[] = { - { CO_TEXT, "-lt%r" }, + { CO_TEXT, "-lts%r" }, { CO_TEXT, "--delete" }, { CO_EXCLUDE, NULL }, { CO_FILTER, NULL }, diff --git a/lsyncd.conf.xml b/lsyncd.conf.xml index 6cfc3d4..8cbb17a 100644 --- a/lsyncd.conf.xml +++ b/lsyncd.conf.xml @@ -48,7 +48,7 @@ This is a default config file template for lsyncd. destination will be the destination path to sync to --> -