From 90effd391ab9eb9e913694109617fb56d5f32d49 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 8a5b2a0..2397a0a 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -47,7 +47,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"; @@ -79,7 +79,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";