fix: Wrong systemd dependency

Fixes #159
This commit is contained in:
Inex Code 2024-11-27 14:21:33 +03:00
parent 025e9dcea2
commit 90effd391a
No known key found for this signature in database

View file

@ -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";