nixos/gitlab: Switch from unicorn to puma

Puma is the new upstream default server since GitLab 13.
This commit is contained in:
talyz
2021-02-24 18:31:30 +01:00
parent 2ec397ff9f
commit f8ab43ef7b
4 changed files with 91 additions and 113 deletions
@@ -137,6 +137,7 @@ stdenv.mkDerivation {
sed -i '/ask_to_continue/d' lib/tasks/gitlab/two_factor.rake
sed -ri -e '/log_level/a config.logger = Logger.new(STDERR)' config/environments/production.rb
mv config/puma.rb.example config/puma.rb
# Always require lib-files and application.rb through their store
# path, not their relative state directory path. This gets rid of
# warnings and means we don't have to link back to lib from the