add more dependencies for attic-watch-store

Hopefully this should make it so attic-watch-store starts only after
haproxy becomes available on docker

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-20 11:20:41 -04:00 committed by Alice Huston
parent 0122f87f22
commit a244e9ae44

View File

@ -202,9 +202,17 @@ in
# configured default webstore for this on root user separately # configured default webstore for this on root user separately
systemd.services.attic-watch-store = { systemd.services.attic-watch-store = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [
requires = [ "network-online.target" ]; "network-online.target"
description = "Upload all store content to binary catch"; "docker.service"
"atticd.service"
];
requires = [
"network-online.target"
"docker.service"
"atticd.service"
];
description = "Upload all store content to binary cache";
serviceConfig = { serviceConfig = {
User = "root"; User = "root";
Restart = "always"; Restart = "always";