Auto Restart-Script für Spigot (Linux)?

1 Antwort

script.sh

#!/bin/sh
while true
do
java -jar -Xms1024M -Xmx1024M -jar Spigot.jar
sleep 5
done

Putty:

nohup /path/to/your/script.sh > /dev/null 2>&1 &