about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-06-10 13:47:21 +0200
committerGitHub <noreply@github.com>2024-06-10 13:47:21 +0200
commitb8d6d611c6ea6e4df58e09e8aa771314dd57aa4a (patch)
tree608207fab113543c93879360692df32947d7bfe2 /nixos
parent41386672b7cd6cecfa28cb2122308051c5cb5dfd (diff)
parent4c621ef88639a125059848c6359b98f5b4a72333 (diff)
Merge pull request #315380 from lucasew/20240528-fix-loki
nixos/loki: add network.target to after
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/monitoring/loki.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/loki.nix b/nixos/modules/services/monitoring/loki.nix
index de4f1bc7aa23e..307119ecbf8ba 100644
--- a/nixos/modules/services/monitoring/loki.nix
+++ b/nixos/modules/services/monitoring/loki.nix
@@ -94,6 +94,7 @@ in {
     systemd.services.loki = {
       description = "Loki Service Daemon";
       wantedBy = [ "multi-user.target" ];
+      after = [ "network.target" ];
 
       serviceConfig = let
         conf = if cfg.configFile == null