From 41c10d16060b0f4dec284ec692ae1d14eb9cf867 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 25 Jan 2024 21:56:38 -0600 Subject: [PATCH] fix: make `delay-gitlab-start` depend on `network-online.target` --- hosts/luna/modules/docker/gitlab.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/luna/modules/docker/gitlab.nix b/hosts/luna/modules/docker/gitlab.nix index 17f874f..63bf340 100644 --- a/hosts/luna/modules/docker/gitlab.nix +++ b/hosts/luna/modules/docker/gitlab.nix @@ -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; }; -} +} \ No newline at end of file