fix(synology-drive): always restart
parent
f38c4d065a
commit
3ec0b50207
|
@ -21,7 +21,7 @@ in
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExitType = "cgroup";
|
ExitType = "cgroup";
|
||||||
Restart = "on-failure";
|
Restart = "always";
|
||||||
RestartSec = "1s";
|
RestartSec = "1s";
|
||||||
ExecStartPre = "${pkgs.coreutils}/bin/rm -rf %h/.SynologyDrive/SynologyDrive.app %h/.SynologyDrive/cloud-connect.pid";
|
ExecStartPre = "${pkgs.coreutils}/bin/rm -rf %h/.SynologyDrive/SynologyDrive.app %h/.SynologyDrive/cloud-connect.pid";
|
||||||
ExecStart = "${cfg.package}/bin/synology-drive";
|
ExecStart = "${cfg.package}/bin/synology-drive";
|
||||||
|
|
Loading…
Reference in New Issue