I have a question your you guys. I'm running a MC server so far so great. In order to make it autonomous I run it at boot with a bash script load in rc.local, simple.
#!/bin/bash cd /home/minecraft sudo java -Xms512M -Xmx1008M -jar /home/minecraft/spigot-1.9.jar nogui
Ok, the problem is that when i connect through ssh, i cannot see the server. It is running, because i can play with no problems, but i cannot gain control over it.
When I run the server with the comand from the script, but no at boot, the server keeps on screen, waiting for commands, and showing information, but when run it from the boot script, i cannot see anything.
How can i gain control, or see the server screen if i run it from boot and connect through ssh later?
I hope you understand what i mean. Thanks you in advance, and have a nice day.