infrastructure/ansible/roles/gitlab/files/lsyncd.lua
2020-09-05 16:24:47 +01:00

19 lines
373 B
Lua

settings {
logfile = "/tmp/lsyncd.log",
statusFile = "/tmp/lsyncd.status",
}
sync {
default.rsyncssh,
source = "/mnt/pages",
host = "user@{{ wireguard.clients.walker.ip }}",
targetdir = "/config/pages",
delay = 10,
rsync = {
archive = true,
compress = true
},
ssh = {
port = 8222
}
}