Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
su nathan -l -c "sh /home/nathan/main.sh"
exit 0
I can't seem to be able to connect to the server. I'm using the same java arguments as I usually do, and the command "free -m" indicates that about 650MB more than usual are being used, but it's still no use.
I really would recommend running the server in a "screen" because:
- This will allow you to send commands to it later from outside
- It won't clog up the boot process and prevent you from seeing a login prompt
- It's just so much more flexible