PDA

View Full Version : linux screen -r


richie
15-03-2004, 23:23
ok here is the problem

i am running a linbox and would like to see the teamspeak server listed in my screen -r list

i have 2 servers running for games which are listed but when i run the tss2 server i know its running as i can connect to it and also see it when i do

ps x

but when i type screen -r on my game servers are listed

is there a way i can get the tss2 server to become listed in the list of screens

i have done this but this doesnt work any ideas would be greatfully recieved

start script

#! /bin/sh

cd /
cd WebSites/admin/phx/tss2
screen -dmS phxtspeak ./server_linux -PID=tsserver2.pid

stop script

#! /bin/sh

cd /
cd WebSites/admin/phx/tss2

kill -TERM `cat tsserver2.pid`;
screen -r phxtspeak -X quit;

exit

these scripts work to start and stop the server but its not listing it in the screen list please help