@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.