Назад | Перейти на главную страницу

rsyncd.conf исключить из конфигурации не работает

Я пытаюсь использовать текстовый файл для хранения исключенных файлов для демона rsyncd. Я выполнил руководство по rsyncd.con и поставил:

exclude from = /etc/rsync-exclude.txt 

Но вроде не работает. Что может быть возможной причиной.

Много гуглил по этой проблеме, но ничего полезного не получилось.

ОБНОВЛЕНИЕ: вот что находится в rsync-exclude.txt

.git (I also tried putting it as /.git but that didn't work either)
uploads
assets
config.inc.php

Вот глобальные конфигурации в rsyncd.conf:

uid = www
gid = www
max connections = 600
use chroot = no
transfer logging = yes
log file = /var/log/rsyncd.log
log format = %t %a %m %f %b
log file = /var/log/rsyncd.log
pid file=/var/run/rsyncd.pid
lock file=/var/run/rsyncd.lock
#motd file = /etc/rsyncd/rsyncd.motd

read only = no
list = no
ignore errors = yes