UNRAID配置RCLONE挂载ALIST云盘

Blog1年前 (2023)更新 VoxHuang
1,340 0 0

安装 rclone

unraid的apps商店中安装Rclone插件

安装 User Scripts

在unraid的apps商店中搜索User Scripts插件安装

SSH初始化配置RCLONE

rclone config

……此处自行配置一个名为alist的盘

User Scripts配置挂载插件

ADD NEW SCRIPTS

rclone_mount_script

#!/bin/bash
#----------------------------------------------------------------------------
#first section makes the folders for the mount in the /mnt/disks folder so docker containers can have access
#there are 4 entries below as in the video i had 4 remotes amazon,dropbox, google and secure
#you only need as many as what you need to mount for dockers or a network share

mkdir -p /mnt/user/media/alist


#This section mounts the various cloud storage into the folders that were created above.

rclone mount --use-mmap --umask 000 --allow-other --allow-non-empty --dir-cache-time 24h --cache-dir=/mnt/user/appdata/rclonemount/cache --vfs-cache-mode full --buffer-size 1024M --vfs-read-chunk-size 16M --vfs-read-chunk-size-limit 64M --vfs-cache-max-size 20G alist: /mnt/user/media/alist &

设置阵列开始运行Scripts

User Scripts配置卸载插件

ADD NEW SCRIPTS

rclone_unmount_script

#!/bin/bash
#----------------------------------------------------------------------------
fusermount -u /mnt/user/media/alist

设置阵列停止运行Scripts

© 版权声明

相关文章

暂无评论

暂无评论...