Assisted-by: Claude:opus-5-5
This commit is contained in:
commit
168fd2ecb9
1 changed files with 4 additions and 0 deletions
|
|
@ -55,8 +55,12 @@ in
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
onFailure = [ "alert-mail@%n.service" ];
|
onFailure = [ "alert-mail@%n.service" ];
|
||||||
path = [ pkgs.rclone ];
|
path = [ pkgs.rclone ];
|
||||||
|
# rclone looks for a home directory even when its remotes come from
|
||||||
|
# the environment
|
||||||
|
environment.HOME = "/var/lib/s3-replicate";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
|
StateDirectory = "s3-replicate";
|
||||||
EnvironmentFile = config.sops.templates."s3-replicate.env".path;
|
EnvironmentFile = config.sops.templates."s3-replicate.env".path;
|
||||||
TimeoutStartSec = "12h";
|
TimeoutStartSec = "12h";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue