blob: c592ae9fde4d9512c62b8d9b9a88e621da4fb218 [file] [log] [blame]
Ales Komarekf933a5c2014-04-02 11:13:37 +02001uid = <your-user-name>
2gid = <your-user-name>
3log file = /var/log/rsyncd.log
4pid file = /var/run/rsyncd.pid
5address = 127.0.0.1
6
7
8{%- for server in servers %}
9[{{ server.name}}]
10max connections = {{ server.max_connections }}
11path = /srv/1/node/ {{ server.device }}
12read only = {{ server.read_only }}
13lock file = /var/lock/{{ server.name }}.lock
14
15{%- endfor %}
16
17{#
18[account6022]
19max connections = 25
20path = /srv/2/node/
21read only = false
22lock file = /var/lock/account6022.lock
23
24[account6032]
25max connections = 25
26path = /srv/3/node/
27read only = false
28lock file = /var/lock/account6032.lock
29
30[account6042]
31max connections = 25
32path = /srv/4/node/
33read only = false
34lock file = /var/lock/account6042.lock
35
36[container6011]
37max connections = 25
38path = /srv/1/node/
39read only = false
40lock file = /var/lock/container6011.lock
41
42[container6021]
43max connections = 25
44path = /srv/2/node/
45read only = false
46lock file = /var/lock/container6021.lock
47
48[container6031]
49max connections = 25
50path = /srv/3/node/
51read only = false
52lock file = /var/lock/container6031.lock
53
54[container6041]
55max connections = 25
56path = /srv/4/node/
57read only = false
58lock file = /var/lock/container6041.lock
59
60[object6010]
61max connections = 25
62path = /srv/1/node/
63read only = false
64lock file = /var/lock/object6010.lock
65
66[object6020]
67max connections = 25
68path = /srv/2/node/
69read only = false
70lock file = /var/lock/object6020.lock
71
72[object6030]
73max connections = 25
74path = /srv/3/node/
75read only = false
76lock file = /var/lock/object6030.lock
77
78[object6040]
79max connections = 25
80path = /srv/4/node/
81read only = false
82lock file = /var/lock/object6040.lock
83#}