Skip to content

Commit 5d6d97c

Browse files
committed
v17.0
1 parent 4578054 commit 5d6d97c

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

conf.d/main

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ sed -i "/gitlab_rails\['gitlab_email_subject_suffix'\]/ s|=.*|= '\[$APP_NAME\]'|
3333
# set up GitLab
3434
export LC_ALL=C.UTF-8 # explicitly set UTF8 to avoid GitLab bitchin...
3535
service gitlab-runsvdir start
36+
sleep 1
37+
38+
# https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/3552#note_88614190
39+
touch /.dockerenv
40+
3641
gitlab-ctl reconfigure
3742

3843
# disable GitLab WebUI prompting to set 'root' GitLab user password (TurnKey
@@ -63,6 +68,7 @@ sed -i "/postgresql\['dynamic_shared_memory_type'\]/ s|= 'mmap'|= nil|" $CONF
6368
sed -i "/postgresql\['shared_buffers'\]/ s|^|# |" $CONF
6469
sed -i "/postgresql\['shared_buffers'\]/ s|=.*|= \"256MB\"|" $CONF
6570

71+
rm /.dockerenv
6672
service gitlab-runsvdir stop
6773
# ensure that the overlay turnkey service is the one that is enabled
6874
systemctl disable gitlab-runsvdir.service
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# this file was created by TurnKey Linux for use with the
22
# repository at https://packages.gitlab.com/gitlab/gitlab-ce
33

4-
deb [signed-by=/usr/share/keyrings/gitlab-ce.gpg] https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main
5-
deb-src [signed-by=/usr/share/keyrings/gitlab-ce.gpg] https://packages.gitlab.com/gitlab/gitlab-ce/debian/ buster main
4+
deb [signed-by=/usr/share/keyrings/gitlab-ce.gpg] https://packages.gitlab.com/gitlab/gitlab-ce/debian/ bullseye main
5+
deb-src [signed-by=/usr/share/keyrings/gitlab-ce.gpg] https://packages.gitlab.com/gitlab/gitlab-ce/debian/ bullseye main

overlay/etc/incron.allow

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
root

overlay/usr/lib/confconsole/plugins.d/Lets_Encrypt/get_certificate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# import inithooks_cache (from absolute path) for managing domain caching
88
import sys
99
sys.path.append('/usr/lib/inithooks/bin')
10-
import inithooks_cache
10+
from libinithooks import inithooks_cache
1111

1212
LE_INFO_URL = 'https://acme-v02.api.letsencrypt.org/directory'
1313

overlay/usr/lib/inithooks/bin/gitlab.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
import sys
1313
import getopt
14-
import inithooks_cache
14+
from libinithooks import inithooks_cache
1515
import os
1616
import pwd
1717
import subprocess
1818

19-
from dialog_wrapper import Dialog
19+
from libinithooks.dialog_wrapper import Dialog
2020

2121

2222
def usage(s=None):

plan/main

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#include <turnkey/base>
22

33
sudo
4-
incron /* To update TasksMax in TurnKey overlay service */

0 commit comments

Comments
 (0)