anchor.diff:          # Needed for GitLab project imports
           gnutar
           gzip
  +
  +        procps # Sidekiq MemoryKiller
         ];
         serviceConfig = {
           Type = "simple";
           User = cfg.user;
           Group = cfg.group;
           TimeoutSec = "infinity";
  -        Restart = "on-failure";
  +        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";
         };
  
positive.code:               Lock contention, so be careful when increasing this.
              </para>
            </note>
          '';
        };
  
  
negative.code:       ] ++ optional (cfg.databaseHost == "") "postgresql.service";
        wantedBy = [ "gitlab.target" ];
        partOf = [ "gitlab.target" ];
        environment = gitlabEnv // (optionalAttrs cfg.sidekiq.memoryKiller.enable {
          SIDEKIQ_MEMORY_KILLER_MAX_RSS = cfg.sidekiq.memoryKiller.maxMemory;
          SIDEKIQ_MEMORY_KILLER_GRACE_TIME = cfg.sidekiq.memoryKiller.graceTime;
          SIDEKIQ_MEMORY_KILLER_SHUTDOWN_WAIT = cfg.sidekiq.memoryKiller.shutdownWait;
        });
        path = with pkgs; [
          postgresqlPackage
          git
  