new parameters PLUGIN_PRE/POST_ACTION
This commit is contained in:
parent
4f4063bf9e
commit
481de753b1
@ -74,6 +74,8 @@ lftp $PLUGIN_DEBUG -e "set xfer:log 1; \
|
||||
set ssl:verify-certificate $PLUGIN_VERIFY; \
|
||||
set ssl:check-hostname $PLUGIN_VERIFY; \
|
||||
set net:max-retries 3; \
|
||||
$PLUGIN_PRE_ACTION; \
|
||||
$PLUGIN_CLEAN_DIR; \
|
||||
mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_MIRROR_OPTS $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \
|
||||
mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_MIRROR_OPTS $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR; \
|
||||
$PLUGIN_POST_ACTION;" \
|
||||
-u $FTP_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME
|
||||
|
Loading…
Reference in New Issue
Block a user