Latest
This commit is contained in:
parent
9b371fd926
commit
3838ca1981
1 changed files with 13 additions and 14 deletions
|
@ -51,33 +51,32 @@ unset AWS_CA_BUNDLE
|
|||
export PATH="$PATH:/usr/local/bin:/usr/bin"
|
||||
# TODO: Only launch with --rc-web-gui if the servers hostname is the {{ .kubernetesHost }}
|
||||
# TODO: Add more secure authentication method
|
||||
sudo rclone --config="$CONFIG_FOLDER/rclone.conf" \
|
||||
sudo rclone --config "$CONFIG_FOLDER/rclone.conf" \
|
||||
mount \
|
||||
--allow-other \
|
||||
--buffer-size 4G \
|
||||
--bwlimit=40M \
|
||||
--cache-chunk-path="$CACHE_FOLDER/$MOUNT-chunks" \
|
||||
--cache-db-path="$CACHE_FOLDER/$MOUNT-db" \
|
||||
--cache-dir="$CACHE_FOLDER/$MOUNT-vfs" \
|
||||
--cache-info-age=60m \
|
||||
--cache-tmp-upload-path="$CACHE_FOLDER/$MOUNT-upload" \
|
||||
--cache-workers=8 \
|
||||
--bwlimit 40M \
|
||||
--cache-chunk-path "$CACHE_FOLDER/$MOUNT-chunks" \
|
||||
--cache-db-path "$CACHE_FOLDER/$MOUNT-db" \
|
||||
--cache-dir "$CACHE_FOLDER/$MOUNT-vfs" \
|
||||
--cache-info-age 60m \
|
||||
--cache-tmp-upload-path "$CACHE_FOLDER/$MOUNT-upload" \
|
||||
--cache-workers 8 \
|
||||
--cache-writes \
|
||||
--checkers=16 \
|
||||
--checkers 16 \
|
||||
--daemon \
|
||||
--dir-cache-time 24h \
|
||||
--dir-cache-time=60m \
|
||||
--dir-cache-time 60m \
|
||||
--drive-use-trash \
|
||||
--exclude-from="$RCLONE_IGNORE" \
|
||||
--log-file="$LOG_FILE" \
|
||||
--exclude-from "$RCLONE_IGNORE" \
|
||||
--log-file "$LOG_FILE" \
|
||||
--no-modtime \
|
||||
--noapplexattr \
|
||||
--rc \
|
||||
--rc-pass rclone \
|
||||
--rc-user rclone \
|
||||
--rc-web-gui \
|
||||
--stats=0 \
|
||||
--vfs-cache-max-age 1000h \
|
||||
--stats 0 \
|
||||
--vfs-cache-max-age 1000h \
|
||||
--vfs-cache-max-size 140G \
|
||||
--vfs-cache-mode full \
|
||||
|
|
Loading…
Reference in a new issue