Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160260015
D12376.id33095.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12376.id33095.diff
View Options
Index: www/gitlab/Makefile
===================================================================
--- www/gitlab/Makefile
+++ www/gitlab/Makefile
@@ -4,6 +4,7 @@
PORTNAME= gitlab
PORTVERSION= 9.3.10
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= www devel
MAINTAINER= tz@FreeBSD.org
Index: www/gitlab/files/gitlab.in
===================================================================
--- www/gitlab/files/gitlab.in
+++ www/gitlab/files/gitlab.in
@@ -37,8 +37,10 @@
stop_cmd="stop_gitlab"
restart_cmd="restart_gitlab"
-gitlab_enable=${gitlab_enable:-"NO"}
-gitlab_authBackend=${gitlab_authBackend:-"http://127.0.0.1:8080"}
+: ${gitlab_enable:="NO"}
+: ${gitlab_authBackend:="http://127.0.0.1:8080"}
+: ${gitlab_workhorse_tcp:="NO"}
+: ${gitlab_workhorse_addr:="127.0.0.1:8181"}
load_rc_config $name
@@ -58,7 +60,12 @@
mail_room_pid_path="$pid_path/mail_room.pid"
gitlab_workhorse_dir=$(cd $app_root/../gitlab-workhorse && pwd)
gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"
-gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend $gitlab_authBackend -authSocket $rails_socket -documentRoot $app_root/public"
+if checkyesno gitlab_workhorse_tcp; then
+ gitlab_workhorse_listen="-listenNetwork tcp -listenAddr $gitlab_workhorse_addr"
+else
+ gitlab_workhorse_listen="-listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket"
+fi
+gitlab_workhorse_options="-listenUmask 0 $gitlab_workhorse_listen -authBackend $gitlab_authBackend -authSocket $rails_socket -documentRoot $app_root/public"
gitlab_workhorse_log="$app_root/log/gitlab-workhorse.log"
gitlab_pages_enabled=false
gitlab_pages_dir=$(cd $app_root/../gitlab-pages 2> /dev/null && pwd)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 23, 4:03 PM (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34253100
Default Alt Text
D12376.id33095.diff (1 KB)
Attached To
Mode
D12376: www/gitlab: Add support for reverse proxies in rc script
Attached
Detach File
Event Timeline
Log In to Comment