X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a131954b7b1fad5332051662d0fa3dbea6999b18..820f7a7b57c566f8f1fb25e7e9a96542d2d8c4aa:/rsyncd.conf.yo diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index 35d269f8..240c63a1 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -712,7 +712,12 @@ the sender. dit(bf(pre-xfer exec), bf(post-xfer exec)) You may specify a command to be run before and/or after the transfer. If the bf(pre-xfer exec) command fails, the -transfer is aborted before it begins. +transfer is aborted before it begins. Any output from the script on stdout (up +to several KB) will be displayed to the user when aborting, but is NOT +displayed if the script returns success. Any output from the script on stderr +goes to the daemon's stderr, which is typically discarded (though see +--no-detatch option for a way to see the stderr output, which can assist with +debugging). The following environment variables will be set, though some are specific to the pre-xfer or the post-xfer environment: