Rclone: improve performance
This commit is contained in:
parent
25d2dcd401
commit
7c38e6d9f1
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ in
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}";
|
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}";
|
||||||
ExecStart = "${pkgs.rclone}/bin/rclone --config ${rclone_config} mount ${name}:/ ${path} -v --vfs-cache-mode=writes";
|
ExecStart = "${pkgs.rclone}/bin/rclone --config ${rclone_config} mount ${name}:/ ${path} -v --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "30s";
|
RestartSec = "30s";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue