Nemrun for SteamCMD Linux
2 Attachment(s)
So, a few people have been bugging me to release my updated version of Nemrun for SteamCMD... so here it is.
This is based on Nemrun 1.8.7. The new (required) parameters are actually the same ones the server uses with its newer -autoupdate support: -steam_dir - The directory steamcmd lives in. Replaces -steamdir which was for hldsupdatetool. -steamcmd_script - The steamcmd script to run. Relative paths are treated as relative from the steam_dir. Note: This includes srcdsupdatecheck from Nemrun 1.8.7. Edit: I wonder if the reason Nephyrin didn't update this for SteamCMD himself is because he now works for Valve. |
Re: Nemrun for SteamCMD Linux
Thanks. :bacon!:
|
Re: Nemrun for SteamCMD Linux
Quote:
|
Re: Nemrun for SteamCMD Linux
Does anyone have any clue why SteamCMD won't update steam.inf on my servers? (That's plural, it's happening on all three systems). steam.inf won't update with the new version number so nemrun never restarts the servers to update.
|
Re: Nemrun for SteamCMD Linux
Quote:
|
Re: Nemrun for SteamCMD Linux
I just realized that I never gave my solution...
SteamCMD wasn't updating my steam.inf file so nemrun never thought the server was fully updated. To fix it, I had to switch my user-relative path (~/tfserver) to an absolute path (/home/user/tfserver). |
Re: Nemrun for SteamCMD Linux
Two things:
I just noticed the first post had the command listed as -steamcmd_runscript. It's actually -steamcmd_script. I also want to post the command lines I use with nemrun_steamcmd to give people an idea of how it works, at least if you use it in its update daemon mode. For TF2, my update daemon is running like this: Code:
#!/bin/bash Code:
#!/bin/bash |
Re: Nemrun for SteamCMD Linux
Is this still supported (meaning does it work) and err does it have all the features that the original Nemrun with running multiple servers off 1 installation and auto updating...?
|
Re: Nemrun for SteamCMD Linux
Hi,
where is emailTheAdmins.sh and notifyadmins.sh? |
Re: Nemrun for SteamCMD Linux
Quote:
Quote:
There are reasons for this... 1. notifyadmins.sh doesn't specify how to contact the admins. 2. emailTheAdmins.sh would need to be written differently depending on how your server is set up... if it has a sendmail binary (installed by most mail servers) it could use that, but otherwise it'd have to talk SMTP directly with a remote mail server. Also, just because it has a .sh extension doesn't strictly mean it's a shell script... it could be written in perl or python and passed the perl/python interpreter on the first line (the shebang line). |
Re: Nemrun for SteamCMD Linux
Ok thanks
|
Re: Nemrun for SteamCMD Linux
For windows ?
|
Re: Nemrun for SteamCMD Linux
Quote:
To be clear, I didn't write Nemrun (Nephyrin did that), I just updated it to work with SteamCMD. |
Re: Nemrun for SteamCMD Linux
In the example there is some use of taskset. Can you explain how this works and if there is any use to it?
|
Re: Nemrun for SteamCMD Linux
Quote:
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. |
Re: Nemrun for SteamCMD Linux
Quote:
Spoiler
|
Re: Nemrun for SteamCMD Linux
Can I have an example of a 'unified' steamCMD script?
Because currently I use something like... vsh_dis.txt Code:
@ShutdownOnFailedCommand 1 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. |
Re: Nemrun for SteamCMD Linux
Quote:
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 . |
Re: Nemrun for SteamCMD Linux
delete
|
All times are GMT -4. The time now is 18:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.