correct systemd options
This commit is contained in:
parent
6989e9932b
commit
59ef08b93f
|
@ -22,9 +22,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.prune-restic = {
|
systemd.services.prune-restic = {
|
||||||
user = custom.username;
|
User = custom.username;
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.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