SRCDS Steam group


Starting Server
#1
I just began using Linux, so I don't know a whole lot about it yet. With Windows, I created a .bat file and put that on my desktop to use to start my server. Is there a way to do something like this with Linux?
mzracer360.game-host.org:27015
Reply
#2
yeah its called screen i believe, google it.
Reply
#3
in linux it's called an .sh file, so startserver.sh would be the file name then you do prompt>>./startserver.sh to run it. and yes screen is the way to go else when you log out of your session the server stops.
Reply
#4
you infact dont need to use screen, use an sh file, and when you execute the sh file from ssh start it like this

./start.sh &

the ambersand(&) makes it run in the background, thus when you close your session the server stays up Smile
Reply
#5
install screen
it will backgounding it anytime, and if you need you can reopen the backgrounded process again. with & command you background it and when ever you close the terminal it will close too.
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#6
Sorry for bumping an old topic, but Im back using Linux again (Ubuntu) and have some more questions. Can someone explain to me how to install screen or give a how-to install it. I tried googling it but only got resolution problems/fixes which is not what i want. I also have some general linux questions, so if someone can help me with those, let me know and I will PM or email you with the questions.

thanks,

mzracer360
mzracer360.game-host.org:27015
Reply
#7
i don't use ubuntu but it didn't take me long to google it:

http://www.debuntu.org/2006/07/04/72-how-to-screen-the-ultimate-admin-tool
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)