Skip to content

Commit

Permalink
nixos/gitlab: start gitaly after gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Pässler committed Nov 21, 2020
1 parent 4555a26 commit 0f82bd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nixos/modules/services/misc/gitlab.nix
Expand Up @@ -756,7 +756,8 @@ in {
};

systemd.services.gitaly = {
after = [ "network.target" ];
after = [ "network.target" "gitlab.service" ];
requires = [ "gitlab.service" ];
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
openssh
Expand Down Expand Up @@ -845,7 +846,7 @@ in {
};

systemd.services.gitlab = {
after = [ "gitlab-workhorse.service" "gitaly.service" "network.target" "gitlab-postgresql.service" "redis.service" ];
after = [ "gitlab-workhorse.service" "network.target" "gitlab-postgresql.service" "redis.service" ];
requires = [ "gitlab-sidekiq.service" ];
wantedBy = [ "multi-user.target" ];
environment = gitlabEnv;
Expand Down

0 comments on commit 0f82bd7

Please sign in to comment.