In the end, I found that under Debian I didn't need to touch the "limits.conf" 
file to allow the non-root account I have everything running under to set the 
"nice" value on processes (such as steamcmd) - as long as I am setting it 
higher/slower/lower-priority than normal/default/zero - not the other way 
around.

PS: I also found that I can shove commands to SteamCMD through std-i/o - and 
since the logon credentials are typically already cached - I don't have to 
store the password for the Steam logon anywhere in scripts or such.  Once in a 
while it fails, and I just run it a second time ad it's fine.

Example for TF2 beta (which uses "anonymous"):

echo -e "login anonymous\nforce_install_dir /home/not-root/game901\napp_update 
229830 validate\nquit\n" | nice -n 19 ~/steamcmd/steamcmd.sh;

Example for HLDS (which uses a real Steam logon - replaced here with something 
else):

echo -e "login SteamLogonWhoseCredentialsAreAlreadyCached\nforce_install_dir 
/home/not-root/game101\napp_update 90 validate\nquit\n" | nice -n 19 
~/steamcmd/steamcmd.sh;


_______________________________________________
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