mirror of
https://github.com/simon987/music-graph-api.git
synced 2025-12-13 22:59:03 +00:00
Deploy script
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ls
|
||||
echo "todo"
|
||||
export MGROOT="music_graph_api"
|
||||
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
|
||||
Reference in New Issue
Block a user