mirror of
https://github.com/TotalFreedomMC/TF-Scripts.git
synced 2024-12-23 00:15:10 +00:00
4e71b18351
This is as they currently stand, I know there are better ways to have set these up but they've worked okay for now.
8 lines
209 B
Bash
8 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
|