From 9dc7bf5360e7a8fecdbe9c741ae3972a8cd9b02d Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 12 Jun 2024 10:12:40 -0600 Subject: [PATCH] fix systemd unit's dependencies --- module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module.nix b/module.nix index fa88be6..9f3e1b0 100644 --- a/module.nix +++ b/module.nix @@ -49,8 +49,7 @@ in { systemd.services.mcchunkie = { enable = true; description = "mcchunkie server"; - wantedBy = [ "network-online.target" ]; - after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; environment = { HOME = "${cfg.dataDir}"; };