rclone-mount: allow other

This commit is contained in:
Filippo Berto 2026-02-22 14:43:55 +01:00
parent 98e2905a70
commit f16e74ca51
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -32,7 +32,7 @@ let cfg = config.rclone-mount; in {
Type = "simple"; Type = "simple";
Environment = [ "PATH=${ lib.makeBinPath [ pkgs.rclone pkgs.coreutils pkgs.fuse ]}:/run/wrappers/bin/:$PATH" ]; Environment = [ "PATH=${ lib.makeBinPath [ pkgs.rclone pkgs.coreutils pkgs.fuse ]}:/run/wrappers/bin/:$PATH" ];
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}"; ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}";
ExecStart = "${pkgs.rclone}/bin/rclone --config '${cfg.configPath}' mount ${name}:/ ${path} -vv --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000"; ExecStart = "${pkgs.rclone}/bin/rclone --config '${cfg.configPath}' mount ${name}:/ ${path} -vv --allow-other --vfs-cache-mode=writes --s3-upload-concurrency 32 --s3-chunk-size 128000";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "30s"; RestartSec = "30s";
}; };