mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-06-02 16:30:49 +00:00
This commit is contained in:
parent
8eff28b922
commit
73f48f0aff
|
@ -17,7 +17,8 @@ slower = "sleep 10"
|
||||||
slowbash = {
|
slowbash = {
|
||||||
startup = function(source, target)
|
startup = function(source, target)
|
||||||
log(NORMAL, "cp -r from "..source.." -> "..target)
|
log(NORMAL, "cp -r from "..source.." -> "..target)
|
||||||
return 0;
|
return exec("/bin/bash", "-c", "cp -r \"$1\" \"$2\"", "/bin/bash",
|
||||||
|
source, target)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
create = function(source, path, name, target)
|
create = function(source, path, name, target)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user