fix: Wrong systemd dependency

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

View file

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