correct the forget service
This commit is contained in:
parent
b9105eb9f0
commit
ad38533750
|
@ -22,9 +22,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.prune-restic = {
|
systemd.services.prune-restic = {
|
||||||
|
serviceConfig = {
|
||||||
User = custom.username;
|
User = custom.username;
|
||||||
serviceConfig.Type = "oneshot";
|
Type = "oneshot";
|
||||||
After = "restic-backups-${custom.username}.service";
|
};
|
||||||
|
after = [ "restic-backups-${custom.username}.service" ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.restic}/bin/restic \
|
${pkgs.restic}/bin/restic \
|
||||||
--repo ${repository} \
|
--repo ${repository} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user