1

I've recently opened a VPS running Ubuntu server 13.10 x86 (with no graphical desktop) in order to run a game server. Since it's a VPS there's a risk that the node may crash when I'm not watching. This means I may want to have the server execute this script automatically when the server boots. How can I do that? Another problem is that it seems to require a username and password after boot.

Freya
  • 311

1 Answers1

1

To execute a script at startup of Ubuntu

  • Edit /etc/rc.local and add your commands
  • The script must always end with exit 0

More information : Executing a script at startup and shutdown

DeaDSouL
  • 315