Deploy `/etc/lsyncd/lsyncd.conf.lua`.
This commit is contained in:
parent
2ad8d0938d
commit
8df5e02c18
|
@ -0,0 +1,16 @@
|
||||||
|
settings {
|
||||||
|
logfile = "/var/log/lsyncd/lsyncd.log",
|
||||||
|
statusFile = "/var/log/lsyncd/lsyncd.status",
|
||||||
|
statusInterval = 20,
|
||||||
|
nodaemon = false
|
||||||
|
}
|
||||||
|
|
||||||
|
sync {
|
||||||
|
default.rsync,
|
||||||
|
source = "/home/kazu634/works/mnt/",
|
||||||
|
target = "kazu634@192.168.10.200:/volume1/homes/kazu634/Drive/Shared/project/",
|
||||||
|
rsync = {
|
||||||
|
archive = true,
|
||||||
|
compress = true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue