diff --git a/modules/hm/rclone-mount.nix b/modules/hm/rclone-mount.nix index 2dc3e5b..981e50b 100644 --- a/modules/hm/rclone-mount.nix +++ b/modules/hm/rclone-mount.nix @@ -19,6 +19,8 @@ in Type = "simple"; ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${path}"; ExecStart = "${pkgs.rclone}/bin/rclone --config ${rclone_config} mount ${name}:/ ${path} -v --vfs-cache-mode=writes"; + Restart = "on-failure"; + RestartSec = "30s"; }; }; })