Configuring automatic startup (Ubuntu upstart)
To control startup and persistent execution of processes (restarting them if they crash) Ubuntu uses a system called upstartupstart.
Setting up this system is rather simple. You need to create a file <servicename>.conf in /etc/init after which you can control the service with following commands: sudo start <servicename>, sudo stop <servicename>, sudo restart <servicename>.