Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 01, 2015 8:28 pm 
Offline

Joined: Wed May 13, 2015 5:22 pm
Posts: 1
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


Top
   
PostPosted: Mon Jun 22, 2015 1:46 am 
Offline
Junior Member
User avatar

Joined: Mon Jun 22, 2015 12:55 am
Posts: 30
Website: http://iserversupport.com/
So with which user you are trying to run this script ? The user have permission to access all files you have mentioned in the script ?

_________________
Server Management with 24x7 monitoring
http://iserversupport.com/on-demand/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group