diff options
author | ajs124 <git@ajs124.de> | 2024-02-22 16:55:07 +0100 |
---|---|---|
committer | Yaya <github@uwu.is> | 2024-03-20 10:44:12 +0100 |
commit | cfd71194c8e09c466372822a484354093ef3d944 (patch) | |
tree | 8a1334a08a328c7597973769b4304ed92096008b /nixos/modules/services | |
parent | b805f6e94b69e1c8ead7fde2a88595175b5a2134 (diff) |
nixos/gitlab: switch from sidekiq to sidekiq-cluster
(cherry picked from commit 956005226f0a7232bae04cdd2501e88c0685ed31)
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/misc/gitlab.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix index 3a67106df89b2..cf19979026d00 100644 --- a/nixos/modules/services/misc/gitlab.nix +++ b/nixos/modules/services/misc/gitlab.nix @@ -1463,6 +1463,8 @@ in { nodejs gnupg + "${cfg.packages.gitlab}/share/gitlab/vendor/gems/sidekiq-${cfg.packages.gitlab.rubyEnv.gems.sidekiq.version}" + # Needed for GitLab project imports gnutar gzip @@ -1476,7 +1478,12 @@ in { TimeoutSec = "infinity"; Restart = "always"; WorkingDirectory = "${cfg.packages.gitlab}/share/gitlab"; - ExecStart="${cfg.packages.gitlab.rubyEnv}/bin/sidekiq -C \"${cfg.packages.gitlab}/share/gitlab/config/sidekiq_queues.yml\" -e production"; + ExecStart = utils.escapeSystemdExecArgs [ + "${cfg.packages.gitlab}/share/gitlab/bin/sidekiq-cluster" + "-e" "production" + "-r" "." + "*" # all queue groups + ]; }; }; |