|
|
下面是我目前的配置,体验已经很好了,播放视频大概缓冲1、2秒,如果有体验更好的参数欢迎大佬分享,如果有改进建议也请提出
cat > /etc/systemd/system/coalition.service <<EOF
[Unit]
Description=Rclone
AssertPathIsDirectory=/home/coalition
After=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount coalition: /home/coalition \
--use-mmap --umask 000 --default-permissions \
--no-check-certificate --allow-other --allow-non-empty \
--vfs-cache-mode full \
--buffer-size 256M --vfs-read-ahead 512M --vfs-read-chunk-size 32M \
--vfs-read-chunk-size-limit off --vfs-cache-max-size 30G \
--low-level-retries 200
ExecStop=/bin/fusermount -qzu /home/coalition
Restart=on-abort
User=root
[Install]
WantedBy=default.target
EOF
|
|