Use ln -sf to prevent sshd startup errors upon a full Docker restart

Closes #2371
This commit is contained in:
Stan Hu 2017-05-22 22:24:20 -07:00
parent 7f4b5c6e12
commit ecf4fd62b2
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +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
ln -sf /opt/gitlab/embedded/bin/sv /opt/gitlab/init/sshd
mkdir -p /var/log/gitlab/sshd
# Start service manager