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