[cod] Screen problem
Carlo Moretto
Carlo at londonengland.co.uk
Sat Jan 1 20:31:31 EST 2005
Done all that and still no joy
I made a test script with the following:
screen -d -m -S TEST /usr/bin/top
Added it to cron as user root but same thing.....runs fine from command
line, and I can attch to the screen, but when executed from cron, I can see
it running when doing ps -ef, but cant attach to it and doesn't show in
screen -ls????
I cant think of anything else to try
-----Original Message-----
From: Luke Antins (Firestorm Games) [mailto:luke at firestorm-games.net]
Sent: 01 January 2005 16:58
To: cod at icculus.org
Subject: RE: [cod] Screen problem
Something you may wish to try:
Edit your /etc/screenrc file.
At the bottom add the following lines:
multiuser on
acladd root
Re-run your script via rcon and then from root type: screen -r <screen
session name>/ ie. screen -r codserver/
(the / at the end is very important)
Kind Regards
Luke Antins
--
[Firestorm Games]
http://www.firestorm-games.net/
More information about the Cod
mailing list