diff --git a/start.sh b/start.sh index 56003e9..a48c3f9 100755 --- a/start.sh +++ b/start.sh @@ -1,5 +1,5 @@ #! /bin/sh -ln -sf /app/home "/home/$ANTOS_USER" +[ ! -e "/home/$ANTOS_USER" ] && ln -sf /app/home "/home/$ANTOS_USER" adduser --home "/home/$ANTOS_USER" --disabled-password --gecos "" "$ANTOS_USER" echo -e "$ANTOS_PASSWORD\n$ANTOS_PASSWORD" | passwd "$ANTOS_USER" # start antd-tunnel service