更新 rclone-webdav.service

This commit is contained in:
chunzhi 2025-01-01 07:00:55 -05:00
parent 7c4719098f
commit 3b953b35d8

View File

@ -6,15 +6,16 @@ After=network-online.target
[Service]
User=root
Group=root
ExecStart=/usr/bin/rclone serve webdav mega:/ \
ExecStart=/usr/bin/rclone serve webdav mega: \
--addr 127.0.0.1:8000 \
--umask 0000 \
--allow-non-empty \
--allow-other \
--buffer-size 32M \
--dir-cache-time 12h \
--vfs-read-chunk-size 64M \
--vfs-read-chunk-size-limit 1G
--vfs-read-chunk-size-limit 1G \
--vfs-cache-mode full \
--vfs-cache-max-size 30G \
--vfs-cache-max-age 2h
ExecStop=/bin/kill -SIGTERM $MAINPID
Restart=on-failure