„scripts/start-server.sh“ ändern

This commit is contained in:
2020-09-17 22:26:21 +02:00
parent d82eb2050b
commit 811321d270

View File

@@ -1,4 +1,10 @@
#!/bin/bash
if [ ! -f ${DATA_DIR}/wget-list ]; then
cp /tmp/wget-list ${DATA_DIR}
else
rm -f ${DATA_DIR}/wget-list
cp /tmp/wget-list ${DATA_DIR}
fi
if [ ! -d /${DATA_DIR}/.ssh ]; then
mkdir -p /${DATA_DIR}/.ssh
fi
@@ -23,5 +29,5 @@ fi
echo "---Starting ssh daemon---"
/usr/sbin/sshd
sleep 2
echo "---Build Container fully startet, connect to it via SSH on port 8022---"
echo "---Container fully startet, connect to it via SSH on the choosen port---"
sleep infinity