06-18-2011, 03:12 AM
I need to be able to run these three servers using these commands:
screen -A -m -d -S css-server taskset -c 1 ./srcds_run -console -game cstrike +map de_inferno -maxplayers 10 -autoupdate +fps_max 500 +tv_enable -port 27012
screen -A -m -d -S css-serverclimb taskset -c 1 ./srcds_run -console -game cstrike +map xc_future -maxplayers 16 -autoupdate +fps_max 500 -port 27013
screen -A -m -d -S css-serverfun taskset -c 0 ./srcds_run -console -game cstrike +map deathrun_tribute_final -maxplayers 26 -autoupdate +fps_max 500 +tv_enable -port 27011
The directory are different, i.e for the first server the directory is : /home/shared/match/srcds_l/orangebox
The second directory is:
/home/shared/funserver/orangebox
The third directory is:
/home/shared/climb/orangebox
Need this all in .sh file so it runs each server..
screen -A -m -d -S css-server taskset -c 1 ./srcds_run -console -game cstrike +map de_inferno -maxplayers 10 -autoupdate +fps_max 500 +tv_enable -port 27012
screen -A -m -d -S css-serverclimb taskset -c 1 ./srcds_run -console -game cstrike +map xc_future -maxplayers 16 -autoupdate +fps_max 500 -port 27013
screen -A -m -d -S css-serverfun taskset -c 0 ./srcds_run -console -game cstrike +map deathrun_tribute_final -maxplayers 26 -autoupdate +fps_max 500 +tv_enable -port 27011
The directory are different, i.e for the first server the directory is : /home/shared/match/srcds_l/orangebox
The second directory is:
/home/shared/funserver/orangebox
The third directory is:
/home/shared/climb/orangebox
Need this all in .sh file so it runs each server..