Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gitlab
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
gitlab
Commits
c27d7346
Commit
c27d7346
authored
Aug 19, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved .ssh into /var/lib/gitlab/.ssh
parent
90543b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
Makefile
+5
-2
No files found.
Makefile
View file @
c27d7346
...
...
@@ -47,8 +47,8 @@ all: database-config resque-yml nginx-conf
cd
/srv/gitlab
&&
sudo
-u
git
-H
cp
config/secrets.yml.example
config/secrets.yml
cd
/srv/gitlab
&&
chown
-R
git
log/
cd
/srv/gitlab
&&
chmod
-R
u+rwX,go-w
log/
mv
/srv/gitlab/tmp
/var/lib/gitlab/tmp
ln
-s
/var/lib/gitlab/tmp
/srv/gitlab/tmp
mv
-v
/srv/gitlab/tmp
/var/lib/gitlab/tmp
ln
-s
v
/var/lib/gitlab/tmp
/srv/gitlab/tmp
cd
/srv/gitlab
&&
sudo
-u
git
-H
mkdir
-p
public/uploads/
cd
/srv/gitlab
&&
chmod
0700
public/uploads
cd
/srv/gitlab
&&
chmod
-R
u+rwX
builds/
...
...
@@ -71,6 +71,9 @@ all: database-config resque-yml nginx-conf
@echo
"d /run/gitlab 0755 git git -"
>
/usr/lib/tmpfiles.d/gitlab.conf
@echo
"d /run/gitaly 0700 git git -"
>
/usr/lib/tmpfiles.d/gitaly.conf
mv
-v
/srv/gitlab/.ssh
/var/lib/gitlab/.ssh
ln
-sv
/var/lib/gitlab/.ssh
/srv/gitlab/.ssh
chmod
o+w
/srv
cd
/srv/gitlab
&&
sudo
-u
git
-H
HOME
=
$(CURDIR)
/gitlab-home bundle
install
--deployment
--without
development
test
mysql aws kerberos
cd /srv/gitlab && sudo -u git -H HOME=$(CURDIR)/gitlab-home PATH=$$PATH
:
$(CURDIR)/../go/go/bin GOCACHE=$(CURDIR)/gitlab-home/gocache bundle exec rake gitlab:shell:install RAILS_ENV=production
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment