SRCDS Steam group

Screen (FreeBSD / Linux)
Ok, i am experiencing a little problem, if I were to "quit" a server, running under screen (FreeBSD), it also kills the head proccess. If I were to kill the head proccess under FreeBSD, it doesn't kill the sub proccesses, however in linux, this works absolutely perfectly.

Anyone with any ideas please do reply.
ok, to lemme get this straight.. im going to use a custoemrs hlds server..
when you run ps x you have something like..
Quote:su-3.00$ ps x
62636 p0- I 0:00.01 /bin/sh ./hlds_run -game cstrike +ip -port 27015 +map cs_assault +maxplayers 16 +pingboost 3 -+heapsize 250000 +sys_ticrate 1000 -binary ./hlds_i686 -pidfile
62638 p0- S 131:12.64 [hlds_i686]
62639 p0- S 0:00.64 [hlds_i686]
62640 p0- S 0:01.58 [hlds_i686]
69366 p0 S 0:00.01 su (bash)
69367 p0 R+ 0:00.00 ps x

now you would be trying to kill 62636 (which is the main hlds_run which inits the hlds_i686) yet the hlds_i686 still runs, is this what you're saying?
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
632 ?? Is 0:00.01 screen -m -d -S 2s ./srcds_run -game cstrike -ip 65.XX.XX.XX -port 27015 +maxplayers 24 +map de_dust2 +f
633 p1 Is+ 0:00.02 /bin/sh ./srcds_run -game cstrike -ip 65.XX.XX.XX -port 27015 +maxplayers 24 +map de_dust2
646 p1 S+ 0:03.03 ./srcds_i686 -game cstrike -ip 65.XX.XX.XX -port 27015 +maxplayers 24 +map de_dust2

If i kill 646 its fine
If i kill 633, screen dies with it (normal)
If i kill 632, then 633 & 646 do not die with it.

If I rcon "quit" the server, everything dies instead of just the binary.

In Linux, this problem doesn't exist.
I've noticed that if I don't have -autoupdate in my command line, and I type exit in server console (in screen), then everthing, including that screen, shuts down. But if I have the -autoupdate in my command line, then exit in server console will restart the server.
United Strike Marine Corps
USMC-CO| θ (theta)

Forum Jump:

Users browsing this thread: 1 Guest(s)