transfer logging
[cloudstore.git] / rsyncd.conf
1 uid = nobody
2 gid = nogroup
3 use chroot = yes
4
5 #max connections = 4
6 lock file = /srv/cloudshare/var/rsyncd.lock
7
8 #syslog facility = local5
9 log file  = /srv/cloudshare/var/rsyncd.log
10 #       %a the remote IP address
11 #       %b the number of bytes actually transferred
12 #       %B the permission bits of the file (e.g. rwxrwxrwt)
13 #       %c the total size of the block checksums received for  the  basis  file (only when sending)
14 #       %f the filename (long form on sender; no trailing "/")
15 #       %G the gid of the file (decimal) or "DEFAULT"
16 #       %h the remote host name
17 #       %i an itemized list of what is being updated
18 #       %l the length of the file in bytes
19 #       %L  the  string  " -> SYMLINK", " => HARDLINK", or "" (where SYMLINK or
20 #       HARDLINK is a filename)
21 #       %m the module name
22 #       %M the last-modified time of the file
23 #       %n the filename (short form; trailing "/" on dir)
24 #       %o the operation, which  is  "send",  "recv",  or  "del."  (the  latter includes the trailing period)
25 #       %p the process ID of this rsync session
26 #       %P the module path
27 #       %t the current date time
28 #       %u the authenticated username or an empty string
29 #       %U the uid of the file (decimal)
30
31 transfer logging = yes
32 log format = %o %h [%a] %m (%u) %f %l
33 max verbosity = 5
34
35 pid file  = /srv/cloudshare/var/rsyncd.pid
36
37 # don't check secrets file permission (uid)
38 strict modes = no
39
40 pre-xfer exec = /srv/cloudshare/pre-xfer.sh
41 post-xfer exec = /srv/cloudshare/post-xfer.sh
42
43 [dpavlin]
44         path = /srv/cloudshare/blob/dpavlin
45 #       comment = 
46         auth users = dpavlin
47         secrets file = /srv/cloudshare/secrets/dpavlin
48         read only = false