How do I make BRU Server Server or BRU Server Agent start-up on boot with Ubuntu?

By default, BRU Server for Linux should have the following commands placed into the /etc/rc.local file:

/usr/local/bru-server/server
/usr/local/bru-server/agent

The above commands start the BRU Server Server and BRU Server Agent upon boot if they are placed into the /etc/rc.local file on your Linux system, however, if you only have the BRU Server Server installed, then just use the "server" command above, this also applies to the BRU Server Agent and the "agent" command above as well.

If, for whatever reason, you do not use this file and prefer to use the GUI to add these, in Ubuntu to to System -> Preferences -> Sessions -> Startup Programs.  Add the two commands above there, however, this will only add them to the current user of the system.  If you reboot, the user must login before the BRU Server Server and/or BRU Server Agent are started.  By placing the commands are in the /etc/rc.local file, it ensures that the BRU Server Server and/or BRU Server Agent are started when the system boots, regardless of which user is logged in to the system.

If you do not have the /etc/rc.local file on the system already, then you would need to perform the following commands:

cd /etc/init.d/
touch rc.local
chmod +x rc.local
ln -s rc.local ../rcS.d/80rc.local

There are many other methods that you can do, such as placing the commands in the .bashrc file and so on, however, for Linux consistency, we suggest you use the rc.local file since it's the most common file for user specified startup commands on Linux distributions.

For additional information, please see the Ubuntu Support Overview or visit the Ubuntu Forums.