feat: support call rclone without set docker entrypoint

This commit is contained in:
ttionya
2020-06-06 10:35:30 +08:00
parent 3c7fef9bb1
commit de7f8cc345
+7
View File
@@ -2,6 +2,13 @@
. /app/includes.sh . /app/includes.sh
# rclone command
if [[ "$1" == "rclone" ]]; then
$*
exit 0
fi
function configure_cron() { function configure_cron() {
echo "${CRON} sh /app/backup.sh > /dev/stdout" >> /etc/crontabs/root echo "${CRON} sh /app/backup.sh > /dev/stdout" >> /etc/crontabs/root
} }