sample_config.py 782 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# directory that should be watched for changes
wpath = "/var/www/"

# exclude list for rsync
rexcludes = [
	"/localhost",
]

# common remote path
rpath = "/var/www/"

# remote locations in rsync syntax
rnodes = [
	"a.mirror.com:" + rpath,
	"b.mirror.com:" + rpath,
	"c.mirror.com:" + rpath,
]

19 20 21
# extra, raw parameters to rsync
#extra = "--rsh=ssh -a"

22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
# limit remote sync speed (in KB/s, 0 = no limit)
#rspeed = 0

# event mask (only sync on these events)
#emask = [
#	"IN_CLOSE_WRITE",
#	"IN_CREATE",
#	"IN_DELETE",
#	"IN_MOVED_FROM",
#	"IN_MOVED_TO",
#]

# event delay in seconds (prevents huge amounts of syncs, but dicreases the
# realtime side of things)
#edelay = 10

38 39 40
# rsync log file for updates
#logfile = /var/log/inosync.log

41 42
# rsync binary path
#rsync = "/usr/bin/rsync"