fix rclone

This commit is contained in:
Sean Kovacs 2025-11-13 15:09:03 -05:00
commit 14bda31f07
Signed by: sckova
GPG key ID: 00F325187C68651A

View file

@ -13,6 +13,8 @@
Unit = {
Description = "Mount Synology NAS with Rclone and Home Manager.";
After = [ "network-online.target" ];
StartLimitIntervalSec = 30;
StartLimitBurst = 3;
};
Service = {
@ -20,6 +22,7 @@
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p %h/Synology";
ExecStart = "${pkgs.rclone}/bin/rclone --config=%h/.config/rclone/synology.conf --vfs-cache-mode full --ignore-checksum mount \"synology:\" \"%h/Synology\"";
ExecStop = "/run/wrappers/bin/fusermount -u %h/Synology/%i";
Restart = "on-failure";
};
Install = {