mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-09-22 03:59:02 +00:00
commit
d44d63ef91
@ -67,7 +67,7 @@ This might easily become too much. A particularly useful category is "Exec" whic
|
|||||||
lsyncd -log Exec CONFIGFILE
|
lsyncd -log Exec CONFIGFILE
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
When the initial startup sync fails by default Lsyncd will terminate with an error message. It has been designed this way, so configuration failures are visibly reported to a possibly beginning user. However, in production a remote target might be done, but you want Lsyncd to start nevertheless and keep trying to sync to the remote target until it is up.
|
When the initial startup sync fails by default Lsyncd will terminate with an error message. It has been designed this way, so configuration failures are visibly reported to a possibly beginning user. However, in production a remote target might be down, but you want Lsyncd to start nevertheless and keep trying to sync to the remote target until it is up.
|
||||||
|
|
||||||
{% highlight shell %}
|
{% highlight shell %}
|
||||||
lsyncd -insist -rsync /home/USER/src remotehost:dst
|
lsyncd -insist -rsync /home/USER/src remotehost:dst
|
||||||
|
Loading…
Reference in New Issue
Block a user