Bug 253289 - www/gitlab-ce: add gitlab_wait to rc.d script
Summary: www/gitlab-ce: add gitlab_wait to rc.d script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Matthias Fechner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-06 11:03 UTC by Vladimir Druzenko
Modified: 2021-02-06 15:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mfechner)


Attachments
add gitlab_wait to rc.d script (1.35 KB, patch)
2021-02-06 11:03 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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