Raised This Month: $51 Target: $400
 12% 

Restart server on putty


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sherazaa
Member
Join Date: Jun 2012
Old 03-06-2013 , 13:31   Restart server on putty
Reply With Quote #1

Hi everyone !

I have one question to ask, if it's possible
I would like to restart my server on debian with putty (ssh), but i do not know how can i do that ?
If you have a shell script, it can be great, else just a command !

Thanks in advance all guys :p
__________________
[B]Bhop & Kz Player
Sherazaa is offline
kill ya babe
Junior Member
Join Date: Oct 2010
Old 03-06-2013 , 13:36   Re: Restart server on putty
Reply With Quote #2

Hello Sherazaa

i do it this way:

To start server use screen:

screen -Amds gameserve ./hlds_run -console -tos -debug +ip x.x.x.x +port 27015 -game cstrike +map de_dust2x2 +maxplayers 32 +log on +mp_logecho 1 +exec server.cfg -sys_ticrate 1000

then to look at ID:
screen -ls

stop server:
kill xxxx

and then start it again.
kill ya babe is offline
Sherazaa
Member
Join Date: Jun 2012
Old 03-06-2013 , 15:08   Re: Restart server on putty
Reply With Quote #3

Thanks a lot, it's work :p

Solved.
__________________
[B]Bhop & Kz Player

Last edited by Sherazaa; 03-06-2013 at 15:08.
Sherazaa is offline
xfirestorm
Member
Join Date: Mar 2012
Old 03-07-2013 , 03:29   Re: Restart server on putty
Reply With Quote #4

You don't need to kill the process.

It's enough to resume the screen with screen -r and "punch in" ctrl+c or quit the server.
xfirestorm is offline
hypheni
Senior Member
Join Date: Jul 2011
Location: India
Old 03-07-2013 , 03:49   Re: Restart server on putty
Reply With Quote #5

screen -Amds gameserve ./hlds_run -console

linux don't need console param. How do you use it ?.

Another way to quit screen is screen -S <screen name> -X quit
hypheni is offline
Send a message via Skype™ to hypheni
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode