.
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" manpage.1: manpage.xml $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. A description of the parameters you can use can be found in the docbook-xsl-doc-* packages. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include xsltproc and docbook-xsl in your Build-Depends control field. Alternatively use the xmlto command/package. That will also automatically pull in xsltproc and docbook-xsl. Notes for using docbook2x: docbook2x-man does not automatically create the AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as ... . To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be found in the docbook-xsl-doc-html package. Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` General documentation about man-pages and man-page-formatting: man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ --> ]> lsyncd User Manual lsyncd Junichi Uekawa Wrote this manpage for the Debian system.
dancer@debian.org
Axel Kittenberger Strives to keep this uptodate.
axel.kittenberger@univie.ac.at
2008 Junichi Uekawa, Axel Kittenberger Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
LSYNCD 1 &dhpackage; A rsync-based tool to monitor a directory including subdirectories and update modifications. &dhpackage; source target... &dhpackage; DESCRIPTION &dhpackage; is a program that uses rsync to synchronize local directories with a or several remote machine(s) running rsyncd. Lsyncd watches multiple directory trees through inotify. On startup it will rsync all directories with the remote host(s), and then sync single directories by collecting the inotify events. This tool is a light-weight live mirror solution. OPTIONS The program takes options starting with two dashes (`-'). A summary of options is included below. Call this binary to sync (DEFAULT: /usr/bin/rsync). config file to read config from. See lsyncd.conf.xml5 Default: /etc/lsyncd.conf.xml if no , is given in the commandline. If they are given and --conf is not given no config file will be loaded. Log debug messages Do not call rsync, run dry only Exclude file handlet to rsync (DEFAULT: None). Put log here (DEFAULT: /var/log/lsyncd). Do not detach, log to stdout/stderr. Create a file with pid of application. Only log errors. Continue even if startup sync fails. Show summary of options. Show version of program. FILES /etc/lsyncd.conf.xml The default location of configuration file. /var/log/lsyncd The default location of log file. Make sure the running user has write access to this file, or specify a different log file name. DIAGNOSTICS &dhpackage; provides some return codes, that can be used in scripts: Code Diagnostic 0 Program exited successfully. 1 Out of memory. 2 File was not found, or failed to write. 3 binary (most likely rsync) returned non-zero result on startup. 4 Something wrong the command-line arguments in the lsyncd invocation. 5 Too many exclude files were specified. 6 Something wrong with the config file. 255 Internal failure. SEE ALSO lsyncd.conf.xml 5 rsync 1 The programs are documented fully in README file available in /usr/share/doc/lsyncd/README.gz.