fix: make delay-gitlab-start depend on network-online.target

This commit is contained in:
Price Hiller 2024-01-25 21:56:38 -06:00
parent 8c14c25d4b
commit 41c10d1606
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -9,8 +9,8 @@ in
];
systemd.timers.delay-gitlab-start = {
after = [ "docker.service" "docker.socket" "network-online.target" ];
wantedBy = [ "timers.target" ];
after = [ "docker.service" "docker.socket" ];
wantedBy = [ "timers.target" "network-online.target" ];
timerConfig = {
OnActiveSec = "30sec";
Unit = "docker-gitlab.service";
@ -62,4 +62,4 @@ in
forceSSL = true;
enableACME = true;
};
}
}