How to run multiple lsyncd services and delay service starting?

Hi All,

I’m trying to setup my home backup system. What I’m doing is, using lsyncd to automate the process. I’m backing up my /home partition to NAS (over SSH) and backing up /home partition to USB 3.0 external HDD.

However, if I’m working on my laptop away from my desk and my USB external drive is not plugged in, lsyncd doesn’t start, because it can’t reach the external USB drive. Is it possible to have two instances of lsyncd service, using two different config files?

Also, lsyncd service will fail if it starts before WiFi is connected and NAS is not accessible. Is it possible to delay lsyncd service starting, until connection to network is established?

Thank you.