fix(synology-drive): always restart

This commit is contained in:
Moritz Böhme 2023-07-24 18:54:47 +02:00
parent f38c4d065a
commit 3ec0b50207
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -21,7 +21,7 @@ in
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExitType = "cgroup";
Restart = "on-failure";
Restart = "always";
RestartSec = "1s";
ExecStartPre = "${pkgs.coreutils}/bin/rm -rf %h/.SynologyDrive/SynologyDrive.app %h/.SynologyDrive/cloud-connect.pid";
ExecStart = "${cfg.package}/bin/synology-drive";