{% from "rsync/map.jinja" import server with context %} | |
uid = {{ server.user }} | |
gid = {{ server.group }} | |
log file = /var/log/rsyncd.log | |
pid file = /var/run/rsyncd.pid | |
address = {{ server.bind.address }} | |
{%- for module in server.modules %} | |
[{{ module.name}}] | |
max connections = {{ module.max_connections }} | |
path = /srv/1/node/ {{ module.device }} | |
read only = {{ module.read_only }} | |
lock file = /var/lock/rsync_{{ module.name }}.lock | |
{%- endfor %} |