Hi everyone

I just put out a new version of my wrench script.

There are some major changes.

The old version had serious problems. Lots of people had trouble getting it working. Most of these issues have been fixed... except for you CentOS 6.5 users. Yer screwed.

If you are using the old version, don't upgrade yet. I need to write a script to covert the database. If you need this, please contact me directly.



The new wrench has a built-in srcds_run replacement called wrench_run. By default it will monitor the server, and if it fails to reply to too many network queries, it will assume the process has seized up and automatically restart it. It's also smart enough to stop the server if it crashes too often.

wrench will also now dump a log of it's console when a crash occurs. Lots of other crash-handling related stuff; crash email notification, etc.



If you try it out and have problems, let me know and I'll see what I can do.



http://forums.srcds.com/viewpost/118677



wrench script
http://pastebin.com/CS81FnF9

README file
http://pastebin.com/mHWJm62R

bash-autocompletion script (makes tab-completion work)
http://pastebin.com/NhEGLWG8



wget http://pastebin.com/download.php?i=CS81FnF9 -O- | dos2unix > wrench
wget http://pastebin.com/download.php?i=mHWJm62R -O- | dos2unix > wrench_README.txt wget http://pastebin.com/download.php?i=NhEGLWG8 -O- | dos2unix > wrench.bash-autocompletion



Notable features:

wrench takes care of your installations from first-time install, startup, updates, stops, reconfiguration, all the way to uninstallation. wrench was designed for maintaining multiple srcds installations on a single host. Mandatory symbolically linked installations. All servers are linked servers.
        Linked installations use "master" installations as their reference.
For each game type, you only need to download updates once, instead of N* the number of servers you have installed. New installations take seconds to create once a master has been installed, because nothing needs to be downloaded. Linked installations require dramatically less filesystem space than standard installations and are easier to backup and move around.
        Fully automatic updates for all installed srcds server types.
Automatic update management of each linked installation, including warning users and restarting each installation after an autoupdate.
        wrench uses tmux as a terminal multiplexer instead of screen.
wrench can start and stop all of your srcds installations in a single command. wrench keeps configuration about each game type and server installation in a tiny SQLite database. wrench has an autocleanup function to clean up old replay files, logs, download cache, and more.
        wrench includes a srcds_run replacement called wrench_run mode.
wrench_run features crash notifications by email, automatic crash restarts, and a watchdog process which will restart hung/frozen servers. wrench_run will automatically stop a server if it crashes too much, to protect your host from runaway crash-restarts.




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to