diff options
author | Yaya <github@uwu.is> | 2024-03-28 10:01:56 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2024-03-30 12:47:30 +0100 |
commit | 774056a4e6ba519797eecf08ba1b1ddcb0f3104a (patch) | |
tree | d7880d208fcd92e057ed490eaac98dae4b42e449 /nixos/modules/services/misc | |
parent | 500b187bb95b57cb4e63adabb9bfb44d12761508 (diff) |
nixos/gitlab: Rename workhorse binary
Diffstat (limited to 'nixos/modules/services/misc')
-rw-r--r-- | nixos/modules/services/misc/gitlab.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index e95ab0a112bc..db62d6f90901 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -1578,7 +1578,9 @@ in { rm "${cfg.statePath}/config/gitlab-workhorse.json" ''; ExecStart = - "${cfg.packages.gitlab-workhorse}/bin/workhorse " + "${cfg.packages.gitlab-workhorse}/bin/${ + optionalString (lib.versionAtLeast (lib.getVersion cfg.packages.gitlab-workhorse) "16.10") "gitlab-" + }workhorse " + "-listenUmask 0 " + "-listenNetwork unix " + "-listenAddr /run/gitlab/gitlab-workhorse.socket " |