From e1db12d4c2f08fc2815d9f044ff3112f5ab84e90 Mon Sep 17 00:00:00 2001 From: Nick Dimou Date: Tue, 6 Dec 2016 08:14:48 +0200 Subject: [PATCH] also applicable for commands BEFORE sync --- faq/postscript/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq/postscript/index.md b/faq/postscript/index.md index 3753cbf..43b9c4a 100644 --- a/faq/postscript/index.md +++ b/faq/postscript/index.md @@ -1,6 +1,6 @@ --- layout: default -title: "FAQ: How can I call a script after each rsync operation?" +title: "FAQ: How can I call a script before or after each rsync operation?" --- The issue with this quite frequent request is, by itself it complicates error handling a lot. What should Lsyncd do, when the script fails that it ought to run after each rsync call? If it should recall the post script it would require a new state for each rsync event which would complicate Lsyncd code quite a bit.