SRCDS Steam group


update script questions
#1
So I made a script to run every day at 5am EST on my server. My question is, Does the server need to be stopped while this update is going on? Can it be running and someone just come on later and type "quit" in console or restart the server via the swiftpanel?

Code:
#!/bin/sh
echo "updating HL2 Server"
sleep 1
./steam -command update -game "hl2mp" -dir /home/yourusernamehere/hl2mp
Reply
#2
Just make a script that kills the srcds process and updates the server. When you're done add the script to the crontab and run it whenever you want.
There are scripts present at this forum ... just cut and paste what you need.
Reply
#3
This one is good

http://css.setti.info/downloads/monit-srcds-plugin/


Edit: Sorry this script is not for updating.
Reply
#4
you can update the server while it is running and restart it once the update is in progress. I am doing this every night ;-) But I would restart the server right after the update, else some strange things might happen at map change (when the server partially loads updated files and has old files in memory).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)