View Single Post
SuperLOL
Junior Member
Join Date: Oct 2012
Old 10-07-2012 , 10:11   Re: [CSGO] Auto Server Update how?
Reply With Quote #12

@nelioneil
Yes it will only crypting the file will not work so you need to use the normal method.
https://developer.valvesoftware.com/...ating_SteamCMD


@gH0sly

That's how it did it now:

Server start "start.sh" file ->
Code:
#! /bin/sh
read -p "Enter your password: " -s pass
gpg --passphrase $pass -d update_csgo_ds.txt.gpg 2>/dev/null | STEAMEXE=steamcmd ./steam.sh ; 
cd ./csgo_ds && screen -A -m -d -S csgo ./srcds_run -game csgo -autoupdate -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_all_maps +map cs_office
pass="MegaPass"
Crypted "update_csgo_ds.txt.gpg" file ->
Code:
login [email protected] 101password
force_install_dir ./csgo_ds
app_update 740
exit
I hop i did it right.
The server starts with this script, the only problem i see is that i need to enter the password if i start the server with "./start" if i'm not wrong than the password should be filled in automatically.

Last edited by SuperLOL; 10-07-2012 at 10:47.
SuperLOL is offline