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

Nemrun for SteamCMD Linux


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-11-2014 , 16:15   Re: Nemrun for SteamCMD Linux
Reply With Quote #11

Ok thanks
eric0279 is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 07-13-2014 , 08:23   Re: Nemrun for SteamCMD Linux
Reply With Quote #12

For windows ?
__________________
ph is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-13-2014 , 11:55   Re: Nemrun for SteamCMD Linux
Reply With Quote #13

Quote:
Originally Posted by ph View Post
For windows ?
Nemrun is Linux only.

To be clear, I didn't write Nemrun (Nephyrin did that), I just updated it to work with SteamCMD.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
moxie2020
Veteran Member
Join Date: Aug 2011
Old 10-21-2014 , 02:10   Re: Nemrun for SteamCMD Linux
Reply With Quote #14

In the example there is some use of taskset. Can you explain how this works and if there is any use to it?
moxie2020 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-22-2014 , 11:27   Re: Nemrun for SteamCMD Linux
Reply With Quote #15

Quote:
Originally Posted by moxie2020 View Post
In the example there is some use of taskset. Can you explain how this works and if there is any use to it?
taskset is used to control which cores a server can use. It can be handy if you're running multiple servers from the same machine.

However, by the same token, TF2 and DOTA's replay systems can do things on other threads, so limiting those to a single CPU forces it to do that processing on the same CPU core.

Side note: CPU cores are 0-numbered, so a 4 core processor has cores 0-3. Of course, to specify core numbers, you use the -c argument to taskset... it's a lot easier than using bitmasks.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 10-22-2014 at 11:28.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-17-2014 , 11:12   Re: Nemrun for SteamCMD Linux
Reply With Quote #16

Quote:
Originally Posted by Chdata View Post
tbh I have no idea what nemrun is meant to do. It's able to only do update checks / validate when the server actually needs to? ;o

Except I looked at it at a time where I had a headache.
OK, here's my current test server configuration. Note that it could probably be optimized more by making the server use sv_shutdown to do a delayed restart instead of its normal shutdown command.

Spoiler
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-20-2015 , 00:38   Re: Nemrun for SteamCMD Linux
Reply With Quote #17

Can I have an example of a 'unified' steamCMD script?

Because currently I use something like...

vsh_dis.txt
Code:
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir ../vsh
app_update 232250 validate
exit
And there's another one for each of my other two servers that only changes the folder.

Also I'm just going to assume one first executes 'tf2_updater.sh' and then 'prophunt_server.sh' or 'whatever.sh' for all of one's servers?

And from there this thing handles autoupdating them... or not going through a full file check if there's no need to?

Also... I don't see anything that shuts down the server in what you posted? No kill or quit or exit or restart or shutdown command seems to be in the snippet you posted.

Chdata awaits the day his question is answered clearly.
__________________

Last edited by Chdata; 01-20-2015 at 00:58.
Chdata is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-20-2015 , 09:39   Re: Nemrun for SteamCMD Linux
Reply With Quote #18

Quote:
Originally Posted by Chdata View Post
Can I have an example of a 'unified' steamCMD script?

Because currently I use something like...

vsh_dis.txt
Code:
@ShutdownOnFailedCommand 1
@NoPromptForPassword 1
login anonymous
force_install_dir ../vsh
app_update 232250 validate
exit
And there's another one for each of my other two servers that only changes the folder.

Also I'm just going to assume one first executes 'tf2_updater.sh' and then 'prophunt_server.sh' or 'whatever.sh' for all of one's servers?

And from there this thing handles autoupdating them... or not going through a full file check if there's no need to?

Also... I don't see anything that shuts down the server in what you posted? No kill or quit or exit or restart or shutdown command seems to be in the snippet you posted.

Chdata awaits the day his question is answered clearly.
nemrun is intended to be used with screen. The -sharedscreens argument is a comma-separated list of named screens (-S in the screen command-line) that it should send a "quit" command to. Since these screens were presumably also started with nemrun, they will auto-restart when they get the quit command.

Do note that it's possible to run a custom shell script instead using the -shutdownscript command-line argument or change which command is sent to servers using -sharedkillcommand .
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
dedimark
Senior Member
Join Date: Jul 2015
Location: London
Old 03-16-2016 , 11:44   Re: Nemrun for SteamCMD Linux
Reply With Quote #19

delete

Last edited by dedimark; 06-26-2016 at 03:26.
dedimark is offline
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 13:40.


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