Use ln -sf to prevent sshd startup errors upon a full Docker restart
Closes #2371
This commit is contained in:
parent
7f4b5c6e12
commit
ecf4fd62b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue