mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
Merge pull request #232007 from Janik-Haag/restic
restic: add persistent default for timer unit
This commit is contained in:
commit
dde3cb6977
@ -145,6 +145,7 @@ in
|
|||||||
type = types.attrsOf unitOption;
|
type = types.attrsOf unitOption;
|
||||||
default = {
|
default = {
|
||||||
OnCalendar = "daily";
|
OnCalendar = "daily";
|
||||||
|
Persistent = true;
|
||||||
};
|
};
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
When to run the backup. See {manpage}`systemd.timer(5)` for details.
|
When to run the backup. See {manpage}`systemd.timer(5)` for details.
|
||||||
@ -152,6 +153,7 @@ in
|
|||||||
example = {
|
example = {
|
||||||
OnCalendar = "00:05";
|
OnCalendar = "00:05";
|
||||||
RandomizedDelaySec = "5h";
|
RandomizedDelaySec = "5h";
|
||||||
|
Persistent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user