Added RSyncD configuration file
This commit is contained in:
41
roles/bootstrap/templates/rsyncd.conf.j2
Normal file
41
roles/bootstrap/templates/rsyncd.conf.j2
Normal file
@@ -0,0 +1,41 @@
|
||||
port = 873
|
||||
use chroot = true
|
||||
max connections = 17
|
||||
ignore nonreadable = true
|
||||
pid file = /var/run/rsyncd.pid
|
||||
|
||||
[{{ ansible_facts['user_id'] }}-dl]
|
||||
path = {{ ansible_facts['user_dir'] }}/downloads/public
|
||||
uid = rika
|
||||
gid = rika
|
||||
timeout = 90
|
||||
comment = Personal download inventory
|
||||
read only = true
|
||||
exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub
|
||||
|
||||
[{{ ansible_facts['user_id'] }}-public]
|
||||
path = {{ ansible_facts['user_dir'] }}/public/rsync
|
||||
uid = rika
|
||||
gid = rika
|
||||
timeout = 90
|
||||
comment = Public share point
|
||||
read only = true
|
||||
exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub
|
||||
|
||||
[{{ ansible_facts['user_id'] }}-soulseek]
|
||||
path = {{ ansible_facts['user_dir'] }}/public/soulseek
|
||||
uid = rika
|
||||
gid = rika
|
||||
timeout = 90
|
||||
comment = Personal SoulSeek inventory
|
||||
read only = true
|
||||
exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub
|
||||
|
||||
[{{ ansible_facts['user_id'] }}-portfolio]
|
||||
path = {{ ansible_facts['user_dir'] }}/portfolio
|
||||
uid = rika
|
||||
gid = rika
|
||||
timeout = 90
|
||||
comment = Personal portfolio
|
||||
read only = true
|
||||
exclude = .nextcloudsync.log .calnotes .caltrash .stfolder .stignore .directory .ssh *.pub
|
||||
Reference in New Issue
Block a user