fix(synology-drive): always restart
This commit is contained in:
parent
f38c4d065a
commit
3ec0b50207
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue