update scripts
This commit is contained in:
parent
4e948545ca
commit
7657e31971
3 changed files with 11 additions and 8 deletions
1
src/lavalink
Submodule
1
src/lavalink
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 386d6371b9987c9f4cb2e2a7c340431115579e93
|
|
@ -1,6 +1,7 @@
|
||||||
@echo off
|
@echo off
|
||||||
echo "Starting Lavalink server and waiting 20s..."
|
echo "Starting Lavalink server..."
|
||||||
RUN "java -jar Lavalink/Lavalink.jar 1>/dev/null &" # showing only stderror
|
dir lavalink
|
||||||
timeout /t 30
|
RUN "java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1>/dev/null &" # showing only stderror
|
||||||
echo "Done."
|
echo "Starting Discord bot..."
|
||||||
|
dir ..
|
||||||
RUN "python -u ./main.py"
|
RUN "python -u ./main.py"
|
||||||
|
|
9
src/start.sh
Normal file → Executable file
9
src/start.sh
Normal file → Executable file
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "Starting Lavalink server and waiting 20s..."
|
echo "Starting Lavalink server..."
|
||||||
java -jar Lavalink/Lavalink.jar 1>/dev/null & # showing only stderror
|
cd lavalink
|
||||||
sleep 20
|
java -Djdk.tls.client.protocols=TLSv1.3 -Xmx3G -jar Lavalink.jar 1> /dev/null & # showing only stderror
|
||||||
echo "Done."
|
echo "Starting Discord bot..."
|
||||||
|
cd ..
|
||||||
python3 -u ./main.py
|
python3 -u ./main.py
|
||||||
|
|
Reference in a new issue