Commit 1a8cf262 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

git user should have shell available; installed support files; bundler is used...

git user should have shell available; installed support files; bundler is used at run-time - do not remove
parent 201170e9
......@@ -8,7 +8,7 @@ all: database-config
rm /etc/gshadow
mv -v /data/etc/gshadow /etc/gshadow
groupadd -g 101 git
useradd -c "GitLab" -g git -s /bin/false -u 101 git
useradd -c "GitLab" -g git -u 101 git
rm /etc/passwd-
rm /etc/group-
rm /etc/shadow-
......@@ -98,8 +98,13 @@ all: database-config
sudo -u postgres /usr/bin/pg_ctl -s -D /srv/pgsql/data stop -m fast
sudo -u git /usr/bin/redis-cli shutdown nosave
install -v -m644 /home/git/gitlab/lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
install -v -m644 /home/git/gitlab/lib/support/nginx/gitlab /etc/nginx/gitlab.conf
install -v -m755 /home/git/gitlab/lib/support/init.d/gitlab /etc/init.d/gitlab
install -v -m644 /home/git/gitlab/lib/support/init.d/gitlab.default.example /etc/default/gitlab
rm -rf /usr/local/share/.yarnrc
/bin/sh cleanup gitlab bundler dev doc git tests cache ports man patches node_modules windows macos bytecode maps packed_assets
/bin/sh cleanup gitlab dev doc git tests cache ports man patches node_modules windows macos bytecode maps packed_assets
rm -rf gitlab-home
umount /tmp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment