rclone-mount: more verbose logs

This commit is contained in:
Filippo Berto 2025-05-10 15:33:32 +02:00
parent 0a359b2d22
commit ab1d99fb4d
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -31,7 +31,7 @@ let cfg = config.rclone-mount; in {
Service = {
Type = "simple";
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}";
ExecStart = "${pkgs.rclone}/bin/rclone --config '${cfg.configPath}' mount ${name}:/ ${path} -v --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000";
ExecStart = "${pkgs.rclone}/bin/rclone --config '${cfg.configPath}' mount ${name}:/ ${path} -vv --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000";
Restart = "on-failure";
RestartSec = "30s";
};