[20.09] nixos/gitlab: start gitaly after gitlab

(cherry-picked from commit 0f82bd767b)
This commit is contained in:
Milan Pässler
2020-11-20 21:15:42 +01:00
parent 5728fa2765
commit 0f1831ccc2

View File

@@ -738,7 +738,8 @@ in {
};
systemd.services.gitaly = {
after = [ "network.target" ];
after = [ "network.target" "gitlab.service" ];
requires = [ "gitlab.service" ];
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
openssh
@@ -807,7 +808,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;