echo when starting socat

This commit is contained in:
Gerrit Gogel 2021-02-01 14:55:45 +01:00
parent c807ce8ad0
commit d9e94b803b

View file

@ -14,6 +14,7 @@ function start_seahub {
function start_socat {
mkdir -p /opt/seafile/seafile-server-latest/runtime
while true; do
echo "Starting socat..."
socat -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever,keepalive,keepidle=10,keepintvl=10,keepcnt=2
done
}