Bug 253289

Summary: www/gitlab-ce: add gitlab_wait to rc.d script
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Matthias Fechner <mfechner>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (mfechner)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
add gitlab_wait to rc.d script vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2021-02-06 11:03:42 UTC
Created attachment 222204 [details]
add gitlab_wait to rc.d script

After updated to 13.8 Gitlab starts very long - longer than 30s and even 60s.
With my patch I got exact value: "Started in 79s."
I added gitlab_wait variable to rc.d script (same as in tomcat ports).
Work fine in my environment.
Comment 1 Matthias Fechner freebsd_committer freebsd_triage 2021-02-06 15:35:06 UTC
Thanks, fixed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-02-06 15:35:12 UTC
A commit references this bug:

Author: mfechner
Date: Sat Feb  6 15:34:28 UTC 2021
New revision: 564227
URL: https://svnweb.freebsd.org/changeset/ports/564227

Log:
  Added a configuration variable gitlab_wait to configure how long to wait that gitlab is started.
  By default the value is 120 second.

  PR:		253289
  Submitted by:	vvd@unislabs.com

Changes:
  head/www/gitlab-ce/Makefile
  head/www/gitlab-ce/files/gitlab.in