I host a server at home. Once in a while it crashes and it is in need of stopping and restarting. I have to wait till I get home to do so since I presently launch and leave it run in a shell.
I'd like to be able to log in remotely to the server and stop / start / restart the game.

Is that a daemon?

Would it go in init.d ( Suse )

The game itself accepts the stop command to safely shutdown, but that would be another thing altogether I know.

You could enable ssh on the server, poke a tunnel in your router/firewall to the server and ssh port, then connect using ssh, which will give you a command-line prompt on the server after you log in. If you do this, then make sure you have the latest patched sshd installed on your server for security reasons.

09-28-2011

Kumado

Thanks for the reply Rubberman.

I do use ssh to remote in and launch. ssh really helps a lot for much of what I do on my school servers.
It was the script and the arguments that throw me.
I made my firewall a long time ago and only in the past 3 or 4 years did I move it into the init.d folder with, what I think is the correct header information to have it launch on boot. What it is called, what levels to run on and turn off on, etc.
I use Suse, Yast > system > runlevel sees the script and it works fine.

I did not know how to pass minecraft the stop command ( or others ) via the run script.
If I only had more real time I guess, sigh, teaching is not conducive to getting much else done, haha.

kumado

10-27-2011

Darrius

If the game is not starting check the resetting and reboot up if again trouble persists then again download the game or
you can install the game again.