settings {
   logfile    = "/tmp/lsyncd.log",
   statusFile = "/tmp/lsyncd.status",
   nodaemon   = true,
}

sync {
    default.rsyncssh,
	source = "/data/soundbase.radiodemo.oma-radio.fr/soundbase",
	host = "radiodemo.oma-radio.fr@radiodemo.oma-radio.fr",
	targetdir = "/data/radiodemo.oma-radio.fr/soundbase",
	exclude = {'/wav*', '/png/', '/jpg*', '/png*', '/txt/', '/webpH/', '/import*', '/fic', '/bonus*', '/prg/', '/secours/', '/statique/', '/tmp/', '/cart/', 'cfg_*', '/readme.md', '/mp3/', '/lst/', '/groups.json', '/users.htpasswd'},
    ssh = {
        identityFile = "~/.ssh/synchro_tete.sshkey",
		port = 45985,
    },
	-- need 2.3.0 -- daily sync
	--crontab = {
    --        "11 11 4 * * *",
    --},
}