nixos/gitlab: Rename workhorse binary

This commit is contained in:
Yaya 2024-03-28 10:01:56 +01:00 committed by Yureka
parent 500b187bb9
commit 774056a4e6

View File

@ -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 "