更新 rclone-webdav.service
This commit is contained in:
parent
3b953b35d8
commit
549a6a606c
@ -8,16 +8,18 @@ User=root
|
|||||||
Group=root
|
Group=root
|
||||||
ExecStart=/usr/bin/rclone serve webdav mega: \
|
ExecStart=/usr/bin/rclone serve webdav mega: \
|
||||||
--addr 127.0.0.1:8000 \
|
--addr 127.0.0.1:8000 \
|
||||||
|
--user chunzhi \
|
||||||
|
--pass chunzhi233233 \
|
||||||
--umask 0000 \
|
--umask 0000 \
|
||||||
--buffer-size 32M \
|
--buffer-size 32M \
|
||||||
--dir-cache-time 12h \
|
--dir-cache-time 12h \
|
||||||
--vfs-read-chunk-size 64M \
|
--vfs-read-chunk-size 64M \
|
||||||
--vfs-read-chunk-size-limit 1G \
|
--vfs-read-chunk-size-limit 1G \
|
||||||
--vfs-cache-mode full \
|
--vfs-cache-mode full \
|
||||||
--vfs-cache-max-size 30G \
|
--vfs-cache-max-size 10G \
|
||||||
--vfs-cache-max-age 2h
|
--vfs-cache-max-age 2h
|
||||||
ExecStop=/bin/kill -SIGTERM $MAINPID
|
ExecStop=/bin/kill -SIGTERM $MAINPID
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
Loading…
x
Reference in New Issue
Block a user