feat: support call rclone without set docker entrypoint
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user