If I was to run a tor service on a real server such as Ubuntu Server, is there a background mode to run tor in, or does the browser have to be open at all times?
If you want to run a tor hidden service, you should use tor, not tor browser. You can run tor as a daemon.
sudo apt-get install tor tor
Make sure you properly set up your hidden service too.