update start entry

This commit is contained in:
lxsang 2021-03-24 22:12:50 +01:00
parent fb0d7ddf68
commit c3adc4a514

View File

@ -3,5 +3,7 @@
adduser --home "/home/$ANTOS_USER" --disabled-password --gecos "" "$ANTOS_USER" adduser --home "/home/$ANTOS_USER" --disabled-password --gecos "" "$ANTOS_USER"
echo -e "$ANTOS_PASSWORD\n$ANTOS_PASSWORD" | passwd "$ANTOS_USER" echo -e "$ANTOS_PASSWORD\n$ANTOS_PASSWORD" | passwd "$ANTOS_USER"
# start antd-tunnel service # start antd-tunnel service
/usr/bin/antd /app/antd-config.ini &
sleep 1
[ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini & [ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini &
/usr/bin/antd /app/antd-config.ini wait