From 5e8aac2a5e776b383bb1833ea4ea0535936c3c01 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 19 Feb 2021 15:49:14 +0000 Subject: [PATCH] services: drone: start after DB --- services/drone.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/services/drone.nix b/services/drone.nix index de7e72f..69b16a0 100644 --- a/services/drone.nix +++ b/services/drone.nix @@ -70,6 +70,7 @@ in config = lib.mkIf cfg.enable { systemd.services.drone-server = { wantedBy = [ "multi-user.target" ]; + after = [ "postgresql" ]; serviceConfig = { EnvironmentFile = [ cfg.secretFile