TF-Scripts/FreeOP Servers/start-agent.sh
Ryan Wild 4e71b18351
Added FreeOP Scripts
This is as they currently stand, I know there are better ways to have set these up but they've worked okay for now.
2021-03-21 14:04:57 +00:00

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