Update dockerrun.sh

This commit is contained in:
Christoffer Martinsson 2024-04-13 14:58:54 +02:00
parent 3672ea4dbc
commit f9225b1c0d

View File

@ -14,8 +14,8 @@ if [ ! -d /config/ssh ]; then
cp -r /etc/ssh /config/
fi
echo "Remapping ssh directory"
rm -rf /etc/ssd
ln -s /config/ssd /etc/ssd
rm -rf /etc/ssh
ln -s /config/ssd /etc/ssh
echo "Starting SSH server"
/usr/sbin/sshd -D