services: drone: start after DB

This commit is contained in:
Bruno BELANYI 2021-02-19 15:49:14 +00:00
parent b135646c28
commit 5e8aac2a5e

View file

@ -70,6 +70,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
systemd.services.drone-server = { systemd.services.drone-server = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "postgresql" ];
serviceConfig = { serviceConfig = {
EnvironmentFile = [ EnvironmentFile = [
cfg.secretFile cfg.secretFile