From 856e8b70ef46e286d49625de6fc070074e450e6b Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 10 Jul 2024 19:36:56 +0200 Subject: [PATCH] infra: alisa depend on postgress --- nix/infra/backend.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {