Fix vdirsyncer restarting
This commit is contained in:
parent
d5827f97c6
commit
b2edb3df96
|
@ -90,8 +90,6 @@ in
|
|||
done
|
||||
''
|
||||
);
|
||||
Restart = "always";
|
||||
RestartSec = "1min";
|
||||
};
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
};
|
||||
|
@ -100,6 +98,8 @@ in
|
|||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.vdirsyncer}/bin/vdirsyncer sync";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1min";
|
||||
};
|
||||
};
|
||||
timers.vdirsyncer = {
|
||||
|
|
Loading…
Reference in a new issue