-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlsyncd.conf
51 lines (50 loc) · 1.33 KB
/
lsyncd.conf
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
42
43
44
45
46
47
48
49
50
51
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/tmp/lsyncd.status",
nodaemon = true,
insist = true,
}
sync {
default.rsync,
source = "/path/to/frontend/",
target = "[email protected]:/path/to/frontend/",
delay = 3,
exclude = {
'*.swp',
'*.swx',
'*.conf.*',
'*.conf~'
},
rsync = {
binary = "/usr/bin/rsync",
compress = true,
compress = true,
acls = true,
verbose = true,
owner = true,
group = true,
perms = true
}
}
sync {
default.rsync,
source = "/path/to/frontend/",
target = "[email protected]:/path/to/frontend/",
delay = 3,
exclude = {
'*.swp',
'*.swx',
'*.conf.*',
'*.conf~'
},
rsync = {
binary = "/usr/bin/rsync",
compress = true,
compress = true,
acls = true,
verbose = true,
owner = true,
group = true,
perms = true
}
}