Re: [hlds_linux] screen -X
In which script/program you must setup the "<>"? srcds_run or srcds_linux (by modifying srcds_run script) your method to send commands to the server is interesting Thanks. -Rodrigo El 04-10-2010 3:06, Daniel Vogel escribió: I run all my servers with a fifo mkfifo l4d2_server1_fifo ./run_server l4d2_server1<> l4d2_server1_fifo echo "quit"> l4d2_server1_fifo #that'd stop the server -- Mit freundlichen Grüssen, Sincerely Yours, Daniel Vogel On 4 October 2010 06:46, Nephyrin Zey wrote: You do need to send a line break - which nemrun does automatically. There was a version of nemrun that had a bug related to -sharedkillcommand, but it was fixed in an update. screen -S bob -X stuff $'quit\n' On Mon, Sep 27, 2010 at 1:09 AM, kama wrote: I wrote a simple gnu screen guide which covers most of the stuff... http://freebsd.pvp.se/?f=gnu-screen /Bjorn On Sat, 25 Sep 2010, Eric Riemers wrote: One would think that way. But if I do it manually on the command line and say "quit" with -X , it works as it should, perhaps it's something with the nemrun auto-updater I have running. Nemph would know I think, I'll try it with quit\n too just in case. There aint much examples out there which talk about sending multiple commands through a screen (besides running the same command multiple times) Eric -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Sent: zaterdag 25 september 2010 13:43 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] screen -X Hello, Which were the command line options exactly after screen -X? Please note that '\n' isn't appended automatically. So you may need to use for example $'command\n' e.g. screen -S scr_name -p0 -X stuff $'quit\n' On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: hi i m stop my server hlds with a control-c hot key . - Original Message - From: "Eric Riemers" To: "'Half-Life dedicated Linux server mailing list'" Sent: Saturday, September 25, 2010 12:26 PM Subject: [hlds_linux] screen -X All, Its a bit hard to google on screen -X , but i got screens running for nemrun which send the "quit" command to one of the sharedscreens. However, each Friday (for l4d2 for instance) after the update I notice that it updated all the files but the instances are not restarted. When I log onto that particular screen and press enter, only THEN will they restart.. so it seems that I need a "quit" or something similar. Anyone experienced the same, or have a better way? Eric ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
I run all my servers with a fifo mkfifo l4d2_server1_fifo ./run_server l4d2_server1 <> l4d2_server1_fifo echo "quit" > l4d2_server1_fifo #that'd stop the server -- Mit freundlichen Grüssen, Sincerely Yours, Daniel Vogel On 4 October 2010 06:46, Nephyrin Zey wrote: > You do need to send a line break - which nemrun does automatically. > There was a version of nemrun that had a bug related to > -sharedkillcommand, but it was fixed in an update. > > screen -S bob -X stuff $'quit\n' > > > > On Mon, Sep 27, 2010 at 1:09 AM, kama wrote: >> >> I wrote a simple gnu screen guide which covers most of the stuff... >> >> http://freebsd.pvp.se/?f=gnu-screen >> >> /Bjorn >> >> On Sat, 25 Sep 2010, Eric Riemers wrote: >> >>> One would think that way. But if I do it manually on the command line and >>> say "quit" with -X , it works as it should, perhaps it's something with the >>> nemrun auto-updater I have running. >>> Nemph would know I think, I'll try it with quit\n too just in case. >>> >>> There aint much examples out there which talk about sending multiple >>> commands through a screen (besides running the same command multiple times) >>> >>> Eric >>> -Original Message- >>> From: hlds_linux-boun...@list.valvesoftware.com >>> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >>> >>> Sent: zaterdag 25 september 2010 13:43 >>> To: Half-Life dedicated Linux server mailing list >>> Subject: Re: [hlds_linux] screen -X >>> >>> Hello, >>> >>> Which were the command line options exactly after screen -X? >>> Please note that '\n' isn't appended automatically. So you may need to use >>> for example $'command\n' >>> e.g. screen -S scr_name -p0 -X stuff $'quit\n' >>> >>> On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: >>> > hi >>> > >>> > i m stop my server hlds with a control-c hot key . >>> > - Original Message - From: "Eric Riemers" >>> > To: "'Half-Life dedicated Linux server mailing list'" >>> > >>> > Sent: Saturday, September 25, 2010 12:26 PM >>> > Subject: [hlds_linux] screen -X >>> > >>> > >>> >> All, >>> >> >>> >> Its a bit hard to google on screen -X , but i got screens running for >>> >> nemrun which send the "quit" command to one of the sharedscreens. >>> >> However, each Friday (for l4d2 for instance) after the update I >>> >> notice that it updated all the files but the instances are not >>> >> restarted. >>> >> >>> >> When I log onto that particular screen and press enter, only THEN >>> >> will they restart.. so it seems that I need a "quit " or >>> >> something similar. >>> >> >>> >> Anyone experienced the same, or have a better way? >>> >> >>> >> Eric >>> >> >>> >> >>> >> ___ >>> >> To unsubscribe, edit your list preferences, or view the list >>> >> archives, please visit: >>> >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>> >> >>> > >>> > >>> > ___ >>> > To unsubscribe, edit your list preferences, or view the list archives, >>> > please visit: >>> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>> > >>> >>> ___ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>> >>> >>> ___ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >>> >> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
You do need to send a line break - which nemrun does automatically. There was a version of nemrun that had a bug related to -sharedkillcommand, but it was fixed in an update. screen -S bob -X stuff $'quit\n' On Mon, Sep 27, 2010 at 1:09 AM, kama wrote: > > I wrote a simple gnu screen guide which covers most of the stuff... > > http://freebsd.pvp.se/?f=gnu-screen > > /Bjorn > > On Sat, 25 Sep 2010, Eric Riemers wrote: > >> One would think that way. But if I do it manually on the command line and >> say "quit" with -X , it works as it should, perhaps it's something with the >> nemrun auto-updater I have running. >> Nemph would know I think, I'll try it with quit\n too just in case. >> >> There aint much examples out there which talk about sending multiple >> commands through a screen (besides running the same command multiple times) >> >> Eric >> -Original Message- >> From: hlds_linux-boun...@list.valvesoftware.com >> [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of >> ???? ???? >> Sent: zaterdag 25 september 2010 13:43 >> To: Half-Life dedicated Linux server mailing list >> Subject: Re: [hlds_linux] screen -X >> >> Hello, >> >> Which were the command line options exactly after screen -X? >> Please note that '\n' isn't appended automatically. So you may need to use >> for example $'command\n' >> e.g. screen -S scr_name -p0 -X stuff $'quit\n' >> >> On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: >> > hi >> > >> > i m stop my server hlds with a control-c hot key . >> > - Original Message - From: "Eric Riemers" >> > To: "'Half-Life dedicated Linux server mailing list'" >> > >> > Sent: Saturday, September 25, 2010 12:26 PM >> > Subject: [hlds_linux] screen -X >> > >> > >> >> All, >> >> >> >> Its a bit hard to google on screen -X , but i got screens running for >> >> nemrun which send the "quit" command to one of the sharedscreens. >> >> However, each Friday (for l4d2 for instance) after the update I >> >> notice that it updated all the files but the instances are not >> >> restarted. >> >> >> >> When I log onto that particular screen and press enter, only THEN >> >> will they restart.. so it seems that I need a "quit " or >> >> something similar. >> >> >> >> Anyone experienced the same, or have a better way? >> >> >> >> Eric >> >> >> >> >> >> ___ >> >> To unsubscribe, edit your list preferences, or view the list >> >> archives, please visit: >> >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> >> >> > >> > >> > ___ >> > To unsubscribe, edit your list preferences, or view the list archives, >> > please visit: >> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > >> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> >> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
I wrote a simple gnu screen guide which covers most of the stuff... http://freebsd.pvp.se/?f=gnu-screen /Bjorn On Sat, 25 Sep 2010, Eric Riemers wrote: > One would think that way. But if I do it manually on the command line and say > "quit" with -X , it works as it should, perhaps it's something with the > nemrun auto-updater I have running. > Nemph would know I think, I'll try it with quit\n too just in case. > > There aint much examples out there which talk about sending multiple commands > through a screen (besides running the same command multiple times) > > Eric > -Original Message- > From: hlds_linux-boun...@list.valvesoftware.com > [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of > > Sent: zaterdag 25 september 2010 13:43 > To: Half-Life dedicated Linux server mailing list > Subject: Re: [hlds_linux] screen -X > > Hello, > > Which were the command line options exactly after screen -X? > Please note that '\n' isn't appended automatically. So you may need to use > for example $'command\n' > e.g. screen -S scr_name -p0 -X stuff $'quit\n' > > On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: > > hi > > > > i m stop my server hlds with a control-c hot key . > > - Original Message - From: "Eric Riemers" > > To: "'Half-Life dedicated Linux server mailing list'" > > > > Sent: Saturday, September 25, 2010 12:26 PM > > Subject: [hlds_linux] screen -X > > > > > >> All, > >> > >> Its a bit hard to google on screen -X , but i got screens running for > >> nemrun which send the "quit" command to one of the sharedscreens. > >> However, each Friday (for l4d2 for instance) after the update I > >> notice that it updated all the files but the instances are not > >> restarted. > >> > >> When I log onto that particular screen and press enter, only THEN > >> will they restart.. so it seems that I need a "quit " or > >> something similar. > >> > >> Anyone experienced the same, or have a better way? > >> > >> Eric > >> > >> > >> ___ > >> To unsubscribe, edit your list preferences, or view the list > >> archives, please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux > >> > > > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
One would think that way. But if I do it manually on the command line and say "quit" with -X , it works as it should, perhaps it's something with the nemrun auto-updater I have running. Nemph would know I think, I'll try it with quit\n too just in case. There aint much examples out there which talk about sending multiple commands through a screen (besides running the same command multiple times) Eric -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Sent: zaterdag 25 september 2010 13:43 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] screen -X Hello, Which were the command line options exactly after screen -X? Please note that '\n' isn't appended automatically. So you may need to use for example $'command\n' e.g. screen -S scr_name -p0 -X stuff $'quit\n' On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: > hi > > i m stop my server hlds with a control-c hot key . > - Original Message - From: "Eric Riemers" > To: "'Half-Life dedicated Linux server mailing list'" > > Sent: Saturday, September 25, 2010 12:26 PM > Subject: [hlds_linux] screen -X > > >> All, >> >> Its a bit hard to google on screen -X , but i got screens running for >> nemrun which send the "quit" command to one of the sharedscreens. >> However, each Friday (for l4d2 for instance) after the update I >> notice that it updated all the files but the instances are not >> restarted. >> >> When I log onto that particular screen and press enter, only THEN >> will they restart.. so it seems that I need a "quit " or >> something similar. >> >> Anyone experienced the same, or have a better way? >> >> Eric >> >> >> ___ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
use "quit" not use "exit " . - Original Message - From: "Gene" To: "Half-Life dedicated Linux server mailing list" Sent: Saturday, September 25, 2010 6:06 PM Subject: Re: [hlds_linux] screen -X The scripts I use to use gas a fallback in that it will give it time to quit gracefully via "quit" and after a set time, it will kill it forcefully. On Sep 25, 2010, at 3:26 AM, "Eric Riemers" wrote: All, Its a bit hard to google on screen -X , but i got screens running for nemrun which send the "quit" command to one of the sharedscreens. However, each Friday (for l4d2 for instance) after the update I notice that it updated all the files but the instances are not restarted. When I log onto that particular screen and press enter, only THEN will they restart.. so it seems that I need a "quit " or something similar. Anyone experienced the same, or have a better way? Eric ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
The scripts I use to use gas a fallback in that it will give it time to quit gracefully via "quit" and after a set time, it will kill it forcefully. On Sep 25, 2010, at 3:26 AM, "Eric Riemers" wrote: All, Its a bit hard to google on screen -X , but i got screens running for nemrun which send the "quit" command to one of the sharedscreens. However, each Friday (for l4d2 for instance) after the update I notice that it updated all the files but the instances are not restarted. When I log onto that particular screen and press enter, only THEN will they restart.. so it seems that I need a "quit " or something similar. Anyone experienced the same, or have a better way? Eric ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
Hello, Which were the command line options exactly after screen -X? Please note that '\n' isn't appended automatically. So you may need to use for example $'command\n' e.g. screen -S scr_name -p0 -X stuff $'quit\n' On Sat, Sep 25, 2010 at 5:07 PM, sylvain wrote: > hi > > i m stop my server hlds with a control-c hot key . > - Original Message - From: "Eric Riemers" > To: "'Half-Life dedicated Linux server mailing list'" > > Sent: Saturday, September 25, 2010 12:26 PM > Subject: [hlds_linux] screen -X > > >> All, >> >> Its a bit hard to google on screen -X , but i got screens running for >> nemrun >> which send the "quit" command to one of the sharedscreens. >> However, each Friday (for l4d2 for instance) after the update I notice >> that >> it updated all the files but the instances are not restarted. >> >> When I log onto that particular screen and press enter, only THEN will >> they >> restart.. so it seems that I need a "quit " or something similar. >> >> Anyone experienced the same, or have a better way? >> >> Eric >> >> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] screen -X
hi i m stop my server hlds with a control-c hot key . - Original Message - From: "Eric Riemers" To: "'Half-Life dedicated Linux server mailing list'" Sent: Saturday, September 25, 2010 12:26 PM Subject: [hlds_linux] screen -X All, Its a bit hard to google on screen -X , but i got screens running for nemrun which send the "quit" command to one of the sharedscreens. However, each Friday (for l4d2 for instance) after the update I notice that it updated all the files but the instances are not restarted. When I log onto that particular screen and press enter, only THEN will they restart.. so it seems that I need a "quit " or something similar. Anyone experienced the same, or have a better way? Eric ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] screen -X
All, Its a bit hard to google on screen -X , but i got screens running for nemrun which send the "quit" command to one of the sharedscreens. However, each Friday (for l4d2 for instance) after the update I notice that it updated all the files but the instances are not restarted. When I log onto that particular screen and press enter, only THEN will they restart.. so it seems that I need a "quit " or something similar. Anyone experienced the same, or have a better way? Eric ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux