diff --git a/nix/infra/backend.nix b/nix/infra/backend.nix index 63f6a84..1d0592a 100644 --- a/nix/infra/backend.nix +++ b/nix/infra/backend.nix @@ -11,7 +11,7 @@ in { systemd.services.alisa-backend = { enable = true; - after = [ "network.target" ]; + after = [ "network.target" "postgresql.service" ]; wantedBy = [ "multi-user.target" ]; description = "Alisa Backend API Server"; environment = {