Author Topic: Startup  (Read 2953 times)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Startup
« on: November 06, 2006, 02:25:14 am »
I've always wondered how to get a Tremulous server(or any quake-3 based server) to run on startup(in Linux) in the background, so that it does not flood the entire screen with server messages, and stall the bootup, like if you were to place something in rc.local.
This is done in the Debian unstable Tremulous port. How exactly do you do it? I don't like having to ssh into my headless server and run it, every time I boot up the server.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Startup
« Reply #1 on: November 06, 2006, 02:35:43 am »
you could put put something in init.d along the lines of
Code: [Select]
sudo -u <tremuser> /path/to/tremded.x86 +set dedicated 2 +exec server.cfg & (i'm aware that there is probably a better way to do this than sudo, i'm just too lazy to find it) and symlink to it from rc.whatever. if you really want to know what they do, just grab the .deb, extract the contents (it's an ar archive)), then extract the tarball (i forget the name, it's the one that isn't control.tgz), the files you are interested in are etc/init.d/tremulous-server and etc/default/tremulous-server. i would have done all of that myself, but i don't feel like rebooting right now.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----