Rclone mount: restart
This commit is contained in:
parent
5e16829245
commit
ccab840f78
1 changed files with 2 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue