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