Package: lsyncd
Version: 2.1.6-1
Severity: normal
Dear Maintainer,
After installing the lsyncd package I constated that it came with no
configuration. I think a default configuration would be great. For
instance, the following configuration provides some default log files,
and a conf.d directory.
settings {
logfile = "/var/log/lsyncd/lsyncd.log",
statusFile = "/var/log/lsyncd/lsyncd-status.log",
statusInterval = 60
}
local confdir = '/etc/lsyncd/conf.d/'
local entries = readdir( confdir )
for name, isdir in pairs( entries ) do
if not isdir then
dofile( confdir .. name )
end
end
It seems to be the way the maintainer advises to parse a conf.d
directory: https://github.com/axkibe/lsyncd/issues/441#issuecomment-397
338832
I suppose the package would also need to create the directories
/var/log/lsyncd/ and /etc/lsyncd/conf.d/
-- System Information:
Debian Release: 9.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lsyncd depends on:
ii libc6 2.24-11+deb9u3
ii liblua5.1-0 5.1.5-8.1+b2
ii lsb-base 9.20161125
ii lua5.1 5.1.5-8.1+b2
ii rsync 3.1.2-1+deb9u1
lsyncd recommends no packages.
lsyncd suggests no packages.
-- no debconf information