增加rsync同步功能

This commit is contained in:
spxcds
2016-05-11 13:01:04 +08:00
parent f19aa20817
commit e4648cf47d
7 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
port = 873
uid = root
gid = root
use chroot = yes
read only = yes
log file = /OnlineJudge/log/rsyncd.log
[testcase]
path = /OnlineJudge/test_case/
list = yes
auth users = ojrsync
secrets file = /etc/rsyncd/rsyncd.passwd