Add a missing symlink for /opt/gitlab/init/sshd to make `gitlab-ctl stop` work in Docker

Closes gitlab-ee#2406
This commit is contained in:
Stan Hu 2017-05-15 16:40:58 -07:00
parent abc24cb4fc
commit 4a098168b6
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ fi
echo "Preparing services..."
rm -f /opt/gitlab/service/*
ln -s /opt/gitlab/sv/sshd /opt/gitlab/service
ln -s /opt/gitlab/embedded/bin/sv /opt/gitlab/init/sshd
mkdir -p /var/log/gitlab/sshd
# Start service manager