mirror of
https://github.com/TotalFreedomMC/TF-Scripts.git
synced 2024-12-23 00:15:10 +00:00
9 lines
209 B
Bash
9 lines
209 B
Bash
|
#!
|
||
|
if screen -list | grep -q "jAgent";
|
||
|
then
|
||
|
echo "ERROR - There is already an instance of the agent running."
|
||
|
else
|
||
|
screen -dmS jAgent java -Xms2G -Xmx2G -jar jagent-1.0.jar
|
||
|
echo "Agent Started"
|
||
|
fi
|