X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=rsyncd.conf;h=17c17a1f2b35206aa3a402bec099d6d634bd938c;hb=4e0aa6a0740e8a79cd642a129a50335649a208ce;hp=95136de6e9c427ece5ffbdb8e6b7790fe4238297;hpb=54484306ed320107f2b51a2468ebf7b386ab121a;p=cloudstore.git diff --git a/rsyncd.conf b/rsyncd.conf index 95136de..17c17a1 100644 --- a/rsyncd.conf +++ b/rsyncd.conf @@ -2,19 +2,46 @@ uid = nobody gid = nogroup use chroot = yes -max connections = 4 -lock file = /srv/cloudshare/var/rsyncd.lock +#max connections = 4 +lock file = /srv/cloudstore/var/rsyncd.lock #syslog facility = local5 -log file = /srv/cloudshare/var/rsyncd.log -pid file = /srv/cloudshare/var/rsyncd.pid +log file = /srv/cloudstore/var/rsyncd.log +# %a the remote IP address +# %b the number of bytes actually transferred +# %B the permission bits of the file (e.g. rwxrwxrwt) +# %c the total size of the block checksums received for the basis file (only when sending) +# %f the filename (long form on sender; no trailing "/") +# %G the gid of the file (decimal) or "DEFAULT" +# %h the remote host name +# %i an itemized list of what is being updated +# %l the length of the file in bytes +# %L the string " -> SYMLINK", " => HARDLINK", or "" (where SYMLINK or HARDLINK is a filename) +# %m the module name +# %M the last-modified time of the file +# %n the filename (short form; trailing "/" on dir) +# %o the operation, which is "send", "recv", or "del." (the latter includes the trailing period) +# %p the process ID of this rsync session +# %P the module path +# %t the current date time +# %u the authenticated username or an empty string +# %U the uid of the file (decimal) + +transfer logging = yes +log format = TRANSFER %o %u %h %a %m %u %l %f +max verbosity = 5 + +pid file = /srv/cloudstore/var/rsyncd.pid # don't check secrets file permission (uid) strict modes = no +pre-xfer exec = /srv/cloudstore/pre-xfer.sh +post-xfer exec = /srv/cloudstore/post-xfer.sh + [dpavlin] - path = /srv/cloudshare/blob/dpavlin + path = /srv/cloudstore/blob/dpavlin # comment = auth users = dpavlin - secrets file = /srv/cloudshare/secrets/dpavlin + secrets file = /srv/cloudstore/secrets/dpavlin read only = false