|
Hello everyone!
I'm trying to use the Lsyncd with a non-root User, but I'm having some problems.
With the root User works perfectly.
When disabled the Root Login (PermitRootLogin no) the Lsyncd does not.
This is my configuration lsyncd.conf.lua
settings { logfile = "/var/log/lsyncd.log", statusFile = "/var/log/lsyncd-status.log" } sync{ default.rsyncssh, delete = false, insist, source="/var/www", host="my private IP", targetdir="/var/www", rsync = { archive = true, perms = true, owner = true, _extra = {"-a"}, }, delay = 5, maxProcesses = 4, ssh = { port = 22 } }
Any ideas about this problem?
Thank you guys
|