Added seed code for caas-registry.
[ta/caas-registry.git] / ansible / roles / swift / templates / update / rsyncd.conf
1 {#
2 Copyright 2019 Nokia
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 #}
16 # /etc/rsyncd: configuration file for rsync daemon mode
17
18 # See rsyncd.conf man page for more options.
19
20 # configuration example:
21
22 # uid = nobody
23 # gid = nobody
24 # use chroot = yes
25 # max connections = 4
26 # pid file = /var/run/rsyncd.pid
27 # exclude = lost+found/
28 # transfer logging = yes
29 # timeout = 900
30 # ignore nonreadable = yes
31 # dont compress   = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2
32
33 # [ftp]
34 #        path = /home/ftp
35 #        comment = ftp export area
36
37 uid = swift
38 gid = swift
39 log file = /var/log/swift/rsyncd.log
40 pid file = /var/run/rsyncd/rsyncd.pid
41 address =  {{ ansible_host }} 
42
43 [account]
44 max connections = 2
45 path = /srv/node/
46 read only = false
47 lock file = /var/lock/swift_locks/account.lock
48
49 [container]
50 max connections = 2
51 path = /srv/node/
52 read only = false
53 lock file = /var/lock/swift_locks/container.lock
54
55 [object]
56 max connections = 2
57 path = /srv/node/
58 read only = false
59 lock file = /var/lock/swift_locks/object.lock