diff options
-rwxr-xr-x | ausbutler-single.sh | 3 | ||||
-rw-r--r-- | config.template/send.lftp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ausbutler-single.sh b/ausbutler-single.sh index 2f95c68..820086d 100755 --- a/ausbutler-single.sh +++ b/ausbutler-single.sh @@ -14,6 +14,9 @@ ls config.template | while read CONFIGFILE do envsubst < config.template/$CONFIGFILE > config/$CONFIGFILE done + python jfrteamy-ausbutler/butler.py calculate generate nowait +lftp -f config/send.lftp + echo "Done" diff --git a/config.template/send.lftp b/config.template/send.lftp index 5c422f7..fcbc5da 100644 --- a/config.template/send.lftp +++ b/config.template/send.lftp @@ -1,3 +1,3 @@ -open -u ${LIGA_AUSBUTLER_FTP_USER} -p ${LIGA_AUSBUTLER_FTP_PASS} ${LIGA_AUSBUTLER_FTP_HOST} +open -u ${LIGA_AUSBUTLER_FTP_USER},${LIGA_AUSBUTLER_FTP_PASS} ${LIGA_AUSBUTLER_FTP_HOST} cd ${LIGA_AUSBUTLER_FTP_PATH} mput ${LIGA_AUSBUTLER_OUTPUT_PATH}/* |