mirror of
https://github.com/simon987/music-graph-api.git
synced 2025-04-19 18:06:42 +00:00
Deploy script
This commit is contained in:
parent
98aae25a72
commit
99cd73db07
@ -1,4 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
ls
|
export MGROOT="music_graph_api"
|
||||||
echo "todo"
|
export JAVA="/usr/lib/jvm/java-11-oracle"
|
||||||
|
|
||||||
|
screen -S mg_api -X quit
|
||||||
|
screen -S mg_api -d -m bash -c "cd ${MGROOT} && ${JAVA}/bin/java -jar target/music-graph-*-jar-with-dependencies.jar 2> stderr.txt"
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
screen -list
|
Loading…
x
Reference in New Issue
Block a user