faster-whisper-server / lsyncd.conf
Fedir Zadniprovskyi
chore: add lsyncd config
93ac8e8
raw
history blame
409 Bytes
local host = os.getenv("SERVER_HOST")
local dir = io.popen("basename $(pwd)"):read("*a"):gsub("\n", "")
settings {
nodaemon = true
}
sync {
default.rsyncssh,
source = ".",
delay = 0,
host = host,
targetdir = dir,
excludeFrom = ".gitignore",
exclude = { ".git" },
rsync = {
archive = true, -- preserves permissions, symlinks, etc.
compress = true,
}
}