forked from ebrahim/inorun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_config.py
41 lines (32 loc) · 905 Bytes
/
sample_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# directory that should be watched for changes
wpaths = ["/home/username/path1/", "/home/username/path2/"]
# exclude list for rsync
rexcludes = [
".git/",
]
# rpaths has one-to-one correspondence with wpaths for syncing multiple directories
rpaths = ["/home/rusername/rpath1", "/home/rusername/rpath2/"]
# remote locations in rsync syntax
rnodes = [
]
# extra, raw parameters to rsync
#extra = "--rsh=ssh -a"
# 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
# rsync log file for updates
logfile = "/home/username/inosync.log"
# rsync binary path
#rsync = "/usr/bin/rsync"