1
0
Fork 0

Fix vdirsyncer restarting

This commit is contained in:
Malte Brandy 2021-07-21 20:01:40 +02:00
parent d5827f97c6
commit b2edb3df96
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -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 = {