From c10e57b19c0314d7a9d8823e18bdd59846d5bfa0 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Wed, 27 Nov 2024 14:21:33 +0300 Subject: [PATCH] fix: Wrong systemd dependency Fixes #159 --- nixos/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/module.nix b/nixos/module.nix index 82d1f55..2f7a164 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -48,7 +48,7 @@ in pkgs.iproute2 ]; after = [ "network-online.target" ]; - wantedBy = [ "network-online.target" ]; + wants = [ "network-online.target" ]; serviceConfig = { User = "root"; ExecStart = "${selfprivacy-graphql-api}/bin/app.py"; @@ -82,7 +82,7 @@ in pkgs.iproute2 ]; after = [ "network-online.target" ]; - wantedBy = [ "network-online.target" ]; + wants = [ "network-online.target" ]; serviceConfig = { User = "root"; ExecStart = "${pkgs.python312Packages.huey}/bin/huey_consumer.py selfprivacy_api.task_registry.huey";