Answer the question
In order to leave comments, you need to log in
Why won't lsyncd start?
I have debian 8.1 jessie
Installed lsyncd:
apt-get install lsyncd
mkdir /etc/lsyncd
mkdir /etc/lsyncd/lsyncd.d
touch /etc/lsyncd/lsyncd.conf.lua
touch /etc/lsyncd/lsyncd.d/srv1.conf.lua
settings{
logfile="/var/log/lsyncd/lsyncd.log",
statusFile="/var/log/lsyncd/lsyncd.status",
}
local confdir = '/etc/lsyncd/lsyncd.d/'
local entries = readdir( confdir )
for name, isdir in pairs( entries ) do
if not isdir then
dofile( confdir .. name )
end
end
sync{
default.rsync,
source="/home/user/src",
target="/mnt/bakup"
}
lsyncd /etc/lsyncd/lsyncd.conf.lua -pidfile /var/run/lsyncd.pid -logfile /var/log/lsyncd/lsyncd.log
/etc/init.d/lsyncd start
service lsyncd start
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question